Click here to Skip to main content
15,904,416 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: .swf file Pin
N a v a n e e t h10-Jul-07 1:06
N a v a n e e t h10-Jul-07 1:06 
QuestionCoding Pin
velud10-Jul-07 0:18
velud10-Jul-07 0:18 
AnswerRe: Coding Pin
N a v a n e e t h10-Jul-07 0:29
N a v a n e e t h10-Jul-07 0:29 
AnswerRe: Coding Pin
Pete O'Hanlon10-Jul-07 1:31
mvePete O'Hanlon10-Jul-07 1:31 
GeneralRe: Coding Pin
Christian Graus10-Jul-07 1:32
protectorChristian Graus10-Jul-07 1:32 
GeneralRe: Coding Pin
Pete O'Hanlon10-Jul-07 1:52
mvePete O'Hanlon10-Jul-07 1:52 
AnswerRe: Coding Pin
Christian Graus10-Jul-07 1:31
protectorChristian Graus10-Jul-07 1:31 
QuestionEvents from a custom control Pin
Senseicads10-Jul-07 0:08
Senseicads10-Jul-07 0:08 
I have a user control built with a checkbox list as part of it. It was built by someoneelse and i am just attempting to use it. I want to be able to handle the checkboxlist selectedindexchanged event when using the control as part of another webpage. Can someone help me as to how I should do this please? Its got me a little confused. I have set up a property to return the checkboxlist as an object but don't know how to set it up to get the event.

i have snipped and edited down the whole control and it is detailed below. Sorry if its a lot of code but better that you have all the info.

<%@ Control Language="VB" ClassName="ctlDropDownCheckBox" %>

<script runat="server">
Protected Width As Long = 150




Public ReadOnly Property List() As CheckBoxList
Get
List = chkResults

End Get

End Property


</script>
<div style="width:<%= Width %>px;">
<div id="<%= Me.ClientID %>" style="position:relative;">
<div class="uiSelectTopBox"><span id="<%= Me.ClientID & Me.ClientIDSeparator & "Count" %>"></span><input type="button" onclick="javascript:<%= Me.ClientID %>_Focus();" onfocus="javascript:<%= Me.ClientID %>_Update();" onblur="javascript:<%= Me.ClientID %>_Update();" style="position:absolute;right:0px;top:0px;bottom:0px;border:1px solid WindowFrame;" value=" ... " /></div>

<div id="<%= Me.ClientID & Me.ClientIDSeparator & "Box" %>" class="uiSelectBox" style="display:none;" onclick="javascript:<%= Me.ClientID %>_Update();" ondatabinding="javascript:alert('100');" >
<asp:CheckBoxList ID="chkResults" runat="server" BorderStyle="none" OnSelectedIndexChanged="chkResults_SelectedIndexChanged">
</asp:CheckBoxList>

</div>

</div>
</div>


Cheers

Ian
AnswerRe: Events from a custom control Pin
Christian Graus10-Jul-07 1:33
protectorChristian Graus10-Jul-07 1:33 
GeneralRe: Events from a custom control Pin
Senseicads10-Jul-07 2:12
Senseicads10-Jul-07 2:12 
Questionhow to convert a .resx file to a dll programatically Pin
Prajin9-Jul-07 23:50
Prajin9-Jul-07 23:50 
AnswerRe: how to convert a .resx file to a dll programatically Pin
Sathesh Sakthivel10-Jul-07 2:53
Sathesh Sakthivel10-Jul-07 2:53 
GeneralRe: how to convert a .resx file to a dll programatically Pin
Not Active10-Jul-07 3:08
mentorNot Active10-Jul-07 3:08 
Questionhow to convert a .resx file to a dll programatically Pin
Prajin9-Jul-07 23:50
Prajin9-Jul-07 23:50 
AnswerRe: how to convert a .resx file to a dll programatically Pin
Christian Graus10-Jul-07 1:33
protectorChristian Graus10-Jul-07 1:33 
QuestionWebservice usage in remote system Pin
honeyss9-Jul-07 23:33
honeyss9-Jul-07 23:33 
AnswerRe: Webservice usage in remote system Pin
N a v a n e e t h10-Jul-07 0:23
N a v a n e e t h10-Jul-07 0:23 
GeneralRe: Webservice usage in remote system Pin
honeyss10-Jul-07 3:10
honeyss10-Jul-07 3:10 
QuestionPopup window properly when SmartNavigation = True Pin
lak sudarsan9-Jul-07 23:23
lak sudarsan9-Jul-07 23:23 
QuestionHow to save horizontal scroll bar position on page postback Pin
Piyush Vardhan Singh9-Jul-07 23:05
Piyush Vardhan Singh9-Jul-07 23:05 
AnswerRe: How to save horizontal scroll bar position on page postback Pin
VenkataRamana.Gali9-Jul-07 23:22
VenkataRamana.Gali9-Jul-07 23:22 
GeneralRe: How to save horizontal scroll bar position on page postback Pin
Piyush Vardhan Singh9-Jul-07 23:51
Piyush Vardhan Singh9-Jul-07 23:51 
Questionvalidating time in 12-hour format Pin
gayathri_it20059-Jul-07 21:55
gayathri_it20059-Jul-07 21:55 
AnswerRe: validating time in 12-hour format Pin
Vasudevan Deepak Kumar9-Jul-07 22:07
Vasudevan Deepak Kumar9-Jul-07 22:07 
GeneralRe: validating time in 12-hour format Pin
gayathri_it200510-Jul-07 0:57
gayathri_it200510-Jul-07 0:57 

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.