Click here to Skip to main content
15,885,767 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Licensing Asp.net web application Pin
Expert Coming9-Jun-11 20:03
Expert Coming9-Jun-11 20:03 
GeneralRe: Licensing Asp.net web application Pin
Satish_S9-Jun-11 20:38
Satish_S9-Jun-11 20:38 
AnswerRe: Licensing Asp.net web application Pin
thatraja9-Jun-11 21:07
professionalthatraja9-Jun-11 21:07 
QuestionRefreshing parent page from modal dialog page [modified] Pin
C#Coudou8-Jun-11 20:11
C#Coudou8-Jun-11 20:11 
AnswerRe: Refreshing parent page from modal dialog page Pin
Orcun Iyigun9-Jun-11 9:10
Orcun Iyigun9-Jun-11 9:10 
QuestionGet Jquery calandar date from textbox Pin
padmanabhan N8-Jun-11 6:06
padmanabhan N8-Jun-11 6:06 
AnswerRe: Get Jquery calandar date from textbox Pin
gavindon8-Jun-11 6:15
gavindon8-Jun-11 6:15 
GeneralRe: Get Jquery calandar date from textbox (correct way of writing question). Pin
Asif Rehman9-Jun-11 9:02
Asif Rehman9-Jun-11 9:02 
Here is the correct way to write question:



I am using Jquery calander control in my project. When i click any button the value in the textbox is cleared. Kindly help me to resolve this issue. I have to take the textbox value and save it in DB.

<script type="text/javascript>
$(function() {
var pickerOpts = {
showOn: "button",
buttonImage: 'calendar.gif',
buttonImageOnly: true,
changeMonth: true,
changeYear: true, 
showButtonPanel: true,
dateFormat: 'dd-M-yy' 
}; 
 
$("#datepicker").datepicker(pickerOpts); 
$.datepicker.setDefaults($.datepicker.regional['']); 
$("#datepicker").datepicker($.datepicker.regional['en']); 
$("#datepicker").val();
});
</script>
 

<form id="form1" runat="server">
<asp:Label ID="lblDate" runat="server" Text="Date: "> 
<asp:TextBox ID="datepicker" runat="server" ReadOnly="true" ViewStateMode="Enabled"> 
<asp:TextBox ID="TextBox1" runat="server" TextMode="Password" > 
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" ></form>


When i try to get value like
string AA = TextBox1.Text;

It just returns empty.......
QuestionSharing config files between projects Pin
Priya Prk8-Jun-11 5:12
Priya Prk8-Jun-11 5:12 
AnswerRe: Sharing config files between projects Pin
Not Active8-Jun-11 5:57
mentorNot Active8-Jun-11 5:57 
GeneralRe: Sharing config files between projects Pin
Priya Prk8-Jun-11 9:02
Priya Prk8-Jun-11 9:02 
Questioncreate a calendar using datalist Pin
sarumathis7-Jun-11 19:21
sarumathis7-Jun-11 19:21 
AnswerRe: create a calendar using datalist Pin
GlobX7-Jun-11 19:38
GlobX7-Jun-11 19:38 
QuestionURL rewrite sub.domain.com Pin
Jassim Rahma7-Jun-11 2:41
Jassim Rahma7-Jun-11 2:41 
AnswerRe: URL rewrite sub.domain.com Pin
Prasanta_Prince8-Jun-11 21:32
Prasanta_Prince8-Jun-11 21:32 
Questionhow to attach a link Pin
Jassim Rahma7-Jun-11 1:45
Jassim Rahma7-Jun-11 1:45 
AnswerRe: how to attach a link Pin
GlobX7-Jun-11 19:44
GlobX7-Jun-11 19:44 
QuestionSeperator between menu items Pin
jayakodim6-Jun-11 19:45
jayakodim6-Jun-11 19:45 
AnswerRe: Seperator between menu items Pin
thatraja6-Jun-11 20:02
professionalthatraja6-Jun-11 20:02 
AnswerRe: Seperator between menu items Pin
Priya Prk8-Jun-11 9:08
Priya Prk8-Jun-11 9:08 
Questionassign domain name to multiple websites Pin
Praveen_S6-Jun-11 19:11
Praveen_S6-Jun-11 19:11 
AnswerRe: assign domain name to multiple websites Pin
Anurag Gandhi6-Jun-11 22:36
professionalAnurag Gandhi6-Jun-11 22:36 
QuestionHow to Use required field validator on Calander Control? Pin
mr_muskurahat6-Jun-11 8:54
mr_muskurahat6-Jun-11 8:54 
AnswerRe: How to Use required field validator on Calander Control? Pin
AspDotNetDev6-Jun-11 10:23
protectorAspDotNetDev6-Jun-11 10:23 
QuestionSearch engine such as google Pin
arkiboys6-Jun-11 7:59
arkiboys6-Jun-11 7:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.