Click here to Skip to main content
15,924,507 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Call a given URL after every specific time Interval Pin
Ramkumar_S18-Apr-11 0:27
Ramkumar_S18-Apr-11 0:27 
AnswerRe: Call a given URL after every specific time Interval Pin
Ravi Sant18-Apr-11 1:22
Ravi Sant18-Apr-11 1:22 
QuestionHow to get client machine ID? Pin
Prasanta_Prince17-Apr-11 5:44
Prasanta_Prince17-Apr-11 5:44 
AnswerRe: How to get client machine ID? Pin
Not Active17-Apr-11 9:25
mentorNot Active17-Apr-11 9:25 
GeneralRe: How to get client machine ID? [modified] Pin
Prasanta_Prince17-Apr-11 15:34
Prasanta_Prince17-Apr-11 15:34 
GeneralRe: How to get client machine ID? Pin
Not Active17-Apr-11 16:16
mentorNot Active17-Apr-11 16:16 
QuestionHow to call C# function via JavaScript? Pin
zouleisheng17-Apr-11 4:07
zouleisheng17-Apr-11 4:07 
AnswerRe: How to call C# function via JavaScript? Pin
Not Active17-Apr-11 4:33
mentorNot Active17-Apr-11 4:33 
AnswerRe: How to call C# function via JavaScript? Pin
Prasanta_Prince18-Apr-11 2:23
Prasanta_Prince18-Apr-11 2:23 
QuestionAuto-updating client web server Pin
Ramkumar_S16-Apr-11 9:31
Ramkumar_S16-Apr-11 9:31 
AnswerRe: Auto-updating client web server Pin
Ravi Sant18-Apr-11 1:18
Ravi Sant18-Apr-11 1:18 
QuestiontheForm._EVENTTARGET is undefined Pin
zouleisheng15-Apr-11 20:10
zouleisheng15-Apr-11 20:10 
QuestionComponentArt:Dialog datalist checkbox validation Pin
hurera111115-Apr-11 1:36
hurera111115-Apr-11 1:36 
AnswerRe: ComponentArt:Dialog datalist checkbox validation Pin
gavindon15-Apr-11 3:45
gavindon15-Apr-11 3:45 
QuestionAuto update in Client's machine Pin
Ramkumar_S14-Apr-11 21:19
Ramkumar_S14-Apr-11 21:19 
AnswerRe: Auto update in Client's machine Pin
Ravi Sant14-Apr-11 23:30
Ravi Sant14-Apr-11 23:30 
AnswerNeed some clarification Pin
David Mujica15-Apr-11 3:17
David Mujica15-Apr-11 3:17 
GeneralRe: Need some clarification Pin
Not Active15-Apr-11 6:51
mentorNot Active15-Apr-11 6:51 
Questioncheck box in datalist Pin
hurera111114-Apr-11 20:29
hurera111114-Apr-11 20:29 
AnswerRe: check box in datalist Pin
m@dhu15-Apr-11 2:49
m@dhu15-Apr-11 2:49 
GeneralRe: check box in datalist [modified] Pin
hurera111117-Apr-11 18:01
hurera111117-Apr-11 18:01 
foreach (DataListItem dli in DataList1.Items)
{
CheckBox check = (CheckBox)dli.FindControl("ChkLGRole");
if (cbox.Checked == true)
{
if (cbox.Text == "i am not done")
{
//code to disable..
}
else
{
//Redirect based on other options.

}

}

The checkbox is in Component Art DIalog Datalist. and showing in datalist dynamically through the code, i want to disable the 1st checkbox if other is getting selected and if 1st one is getting selected the 1st one gets disable automatically. how is this possible please help me.

code is this

<ComponentArt:Dialog ID="caDropDownDialog" runat="server"
Alignment="MiddleCentre" AlignmentElement="<%#lblSelectedValues.ClientID %>"
AllowDrag="true" AllowResize="false" AnimationDuration="1000"
CloseTransition="Fade" Modal="false"
RenderOverWindowedObjects="true" ShowTransition="Fade" AnimationType="Outline"
BackColor="AliceBlue" style="top: 92px; left: 14px">
<Header>
Choose the values from the list below:
</Header>
<Content>
<asp:Panel ID="panSelectArea" runat="server" Width="500px" CssClass="rowGap">
<asp:DataList ID="dlstSubspecialities" runat="server" RepeatColumns="3">
<ItemTemplate>
<table class="tablesize">
<tr>
<td class="input">
<asp:CheckBox ID="chktop" runat="server" OnCheckedChanged="chktop_CheckedChanged" CausesValidation="False" />

</td>
<td>
<%# ((ListItem)Container.DataItem).Text %>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</asp:Panel>
<div style="Height:25px; width:520px; background:#3F3F3F; display:block; paddingBlush | :O ; margin:20px -5px 0 -5px;" > </div>
</Content>
<Footer><center>
<%--<asp:Label ID="lblSelected" runat="server" Font-Bold="false" ></asp:Label>--%>
<%--<asp:CheckBox ID="cbuncheckall" runat ="server" AutoPostBack ="true" Text="Unselect All" />--%>
<asp:Button ID="btnOK" runat="server" CausesValidation="false" Width=55px
CssClass="Button" OnClientClick="caDropDownDialog.IsShowing=false;$.loading({mask: true, effect: 'ellipsis update'});" Text="OK" />
<asp:Button ID="btnCancel" runat="server" CausesValidation="false" Width=55px
CssClass="Button" OnClientClick="caDropDownDialog.Close();$.loading({mask: true, effect: 'ellipsis update'});" Text="Cancel" />

</center>
</Footer>
</ComponentArt:Dialog>


protected void chktop_CheckedChanged(object sender, EventArgs e)
{

BindData();

}

modified on Monday, April 18, 2011 12:14 AM

GeneralRe: check box in datalist Pin
m@dhu20-Apr-11 23:43
m@dhu20-Apr-11 23:43 
GeneralRe: check box in datalist Pin
Prasanta_Prince21-Apr-11 2:44
Prasanta_Prince21-Apr-11 2:44 
QuestionHelp in ASP.NET web service Pin
akosidandan14-Apr-11 19:49
akosidandan14-Apr-11 19:49 
AnswerRe: Help in ASP.NET web service Pin
Pravin Patil, Mumbai15-Apr-11 0:40
Pravin Patil, Mumbai15-Apr-11 0:40 

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.