Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

input string not in the correct format

$
0
0
function clientActiveTabChanged(sender, args) 
    {sender.get_activeTabIndex(); }

 

i have 5 tabs in a tab container

in last tab i have a grid with a column  where i can enter text or a date which is taken as string

if i enter normal text & chnage the TAB of the conatiner it works well

but 

when i change the tab  after entering date  i get  

input string not in the correct format


example::


i am in tab4 where i eneter date value as string in textbox which is the last value entered 
then i chnage the tab

input string not in the correct format

i checked the script functions , as well as server side functions

not able to trace

on server side i have the below on tab chnage

 

 

if tabcontainer.tanindex=0 then
 btn1.enabled= false
btn2.enabled= true
..................

else if   tabcontainer.tanindex=1 then
 btn1.enabled=true
btn2.enabled=false

..................

else if   tabcontainer.tanindex=2 then

 btn1.enabled= true
btn2.enabled= true
..................
end if

Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>