Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 17, 2012 09:41 AM by sameer_khanjit
Member
49 Points
73 Posts
Dec 09, 2012 08:15 AM|LINK
i use an ajax to put date into a textbox, when i then hold the value of the texbox(i mean the date) into a session it will return empty value. any suggestion plz.
Participant
1744 Points
537 Posts
Dec 09, 2012 08:17 AM|LINK
can you show your code
Dec 09, 2012 08:44 AM|LINK
tarunSaini try this http://www.careersoft-technology.com/forum/?mingleforumaction=viewtopic&t=34.0
try this
http://www.careersoft-technology.com/forum/?mingleforumaction=viewtopic&t=34.0
not working, that's exactly what i did.
this is my code
Session["dateOfBirth"] = txtDateOfBirth.Text; lblDateOfBirth.Text = Session["dateOfBirth"].ToString();
88 Points
35 Posts
Dec 09, 2012 12:28 PM|LINK
That code you pasted should work fine.
Check there might be something wrong somewhere.
Dec 10, 2012 07:36 AM|LINK
Contributor
7060 Points
1378 Posts
Dec 17, 2012 09:41 AM|LINK
if text boix is read only, then you can not assign date directly to text box.
Please check :-
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/MaskedEdit/MaskedEdit.aspx
ultimate_dev...
Member
49 Points
73 Posts
Session not holding textbox value
Dec 09, 2012 08:15 AM|LINK
i use an ajax to put date into a textbox, when i then hold the value of the texbox(i mean the date) into a session it will return empty value. any suggestion plz.
akhilrajau
Participant
1744 Points
537 Posts
Re: Session not holding textbox value
Dec 09, 2012 08:17 AM|LINK
can you show your code
Akhil Raj K R
Please Mark as Answer if it helps u...
ultimate_dev...
Member
49 Points
73 Posts
Re: Session not holding textbox value
Dec 09, 2012 08:44 AM|LINK
not working, that's exactly what i did.
this is my code
Session["dateOfBirth"] = txtDateOfBirth.Text;
lblDateOfBirth.Text = Session["dateOfBirth"].ToString();
ajafik
Member
88 Points
35 Posts
Re: Session not holding textbox value
Dec 09, 2012 12:28 PM|LINK
That code you pasted should work fine.
Check there might be something wrong somewhere.
ultimate_dev...
Member
49 Points
73 Posts
Re: Session not holding textbox value
Dec 10, 2012 07:36 AM|LINK
sameer_khanj...
Contributor
7060 Points
1378 Posts
Re: Session not holding textbox value
Dec 17, 2012 09:41 AM|LINK
if text boix is read only, then you can not assign date directly to text box.
Please check :-
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/MaskedEdit/MaskedEdit.aspx
sameer.khanjit@gmail.com
View Blog
Click "Mark as Answer" on the post that helped you.