Click here to Skip to main content
16,005,169 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Disble excel message in asp.net Pin
Arun Jacob29-Jul-10 19:36
Arun Jacob29-Jul-10 19:36 
GeneralRe: Disble excel message in asp.net Pin
Mugdha_Aditya29-Jul-10 19:46
Mugdha_Aditya29-Jul-10 19:46 
Questionvalidation using javascript Pin
Thanusree Duth29-Jul-10 18:23
Thanusree Duth29-Jul-10 18:23 
AnswerRe: validation using javascript Pin
Prosanta Kundu online29-Jul-10 18:39
Prosanta Kundu online29-Jul-10 18:39 
AnswerRe: validation using javascript Pin
Mugdha_Aditya29-Jul-10 19:31
Mugdha_Aditya29-Jul-10 19:31 
GeneralRe: validation using javascript Pin
Arun Jacob29-Jul-10 19:38
Arun Jacob29-Jul-10 19:38 
AnswerRe: validation using javascript Pin
Amit Patel198529-Jul-10 21:35
Amit Patel198529-Jul-10 21:35 
Questionvalidation in jscript Pin
Thanusree Duth29-Jul-10 17:47
Thanusree Duth29-Jul-10 17:47 
I have a ajax tool calendarExtendarFromDate,imgFromDate,textBoxFromDate,calendarExtendarToDate,imgToDate and textBoxToDate,When a date is selected from calendarExtendarFromDate,that date is displayed in textBoxFromDate.Likewise in the case of calendarExtendarToDate.Here is the source code:
--------------------------------------------------------------
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="selectDate" runat="server" Text="Select Date:">
</asp:Label>
<asp:TextBox ID="txtFromDate" runat="server" ReadOnly="True"></asp:TextBox>
<img id="imgFromDate" runat="server" src="~/images/calendar.png" alt="~/images/calendar.png"/>
<cc1:CalendarExtender ID="CalendarExtenderFromDate" runat="server" CssClass="cal"
TargetControlID="txtFromDate" PopupButtonID="imgFromDate">
</cc1:CalendarExtender>
<asp:TextBox ID="txtToDate" runat="server" ReadOnly="True" Enabled="False"></asp:TextBox>
<img id="imgToDate" runat="server" src="~/images/calendar.png" alt="~/images/calendar.png" />
<cc1:CalendarExtender ID="CalendarExtenderToDate" runat="server" OnClientDateSelectionChanged="CheckForFutureDate" CssClass="cal" TargetControlID="txtToDate"
PopupButtonID="imgToDate">
</cc1:CalendarExtender>
</ContentTemplate>
</asp:UpdatePanel>
-------------------------------------------------------------

I have radiobuttons..When the radiobutton between is clicked,then only calendarExtendarToDate is enabled.otherwise it becomes in disabled state..I wrote code in jscript as below:
function validate()
{
document.getElementById("imgToDate").disabled=false;
document.getElementById("txtToDate").disabled=false;
}
//call this function in .aspx.cs as below:
rbBetween.Attributes.Add("onClick", "return validate()");

textbox is disabled.When between radio is clicked,then only enabled.But calendarextendar disabled didnt work.Pls help me...
AnswerRe: validation in jscript Pin
Prosanta Kundu online29-Jul-10 18:06
Prosanta Kundu online29-Jul-10 18:06 
AnswerRe: validation in jscript Pin
Mugdha_Aditya29-Jul-10 19:39
Mugdha_Aditya29-Jul-10 19:39 
QuestionResponse.Redirect - how to send absolute path Pin
Yusuf29-Jul-10 10:00
Yusuf29-Jul-10 10:00 
AnswerRe: Response.Redirect - how to send absolute path Pin
Prosanta Kundu online29-Jul-10 18:26
Prosanta Kundu online29-Jul-10 18:26 
GeneralRe: Response.Redirect - how to send absolute path Pin
Yusuf29-Jul-10 21:12
Yusuf29-Jul-10 21:12 
Questionhtml tag problem in asp.net Pin
Dhyanga29-Jul-10 8:49
Dhyanga29-Jul-10 8:49 
AnswerRe: html tag problem in asp.net Pin
Yusuf29-Jul-10 8:53
Yusuf29-Jul-10 8:53 
GeneralRe: html tag problem in asp.net Pin
Dhyanga29-Jul-10 9:01
Dhyanga29-Jul-10 9:01 
GeneralRe: html tag problem in asp.net Pin
Yusuf29-Jul-10 9:26
Yusuf29-Jul-10 9:26 
GeneralRe: html tag problem in asp.net Pin
Dhyanga29-Jul-10 9:37
Dhyanga29-Jul-10 9:37 
GeneralRe: html tag problem in asp.net [modified] Pin
raju melveetilpurayil29-Jul-10 9:28
professionalraju melveetilpurayil29-Jul-10 9:28 
GeneralRe: html tag problem in asp.net Pin
Dhyanga29-Jul-10 9:39
Dhyanga29-Jul-10 9:39 
Questiongetting sections in different page is word file Pin
Dhyanga29-Jul-10 8:45
Dhyanga29-Jul-10 8:45 
AnswerRe: getting sections in different page is word file Pin
Yusuf29-Jul-10 8:54
Yusuf29-Jul-10 8:54 
GeneralRe: getting sections in different page is word file Pin
Dhyanga29-Jul-10 9:09
Dhyanga29-Jul-10 9:09 
GeneralRe: getting sections in different page is word file Pin
David Mujica29-Jul-10 10:18
David Mujica29-Jul-10 10:18 
GeneralRe: getting sections in different page is word file Pin
Dhyanga29-Jul-10 10:36
Dhyanga29-Jul-10 10:36 

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.