| User Control Events (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Hi, I have a drop down list in a user control and I want to bubble up the SelectedIndexChanged event to the containing page. Can anyone tell me how to wire that up in VB? Thanks, Bill |
|
| Javascript in web user control (2 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com I have a web user control and now I want add a client side javascript function to this user control. When I put javascript code in web user control, it does not work. And I put code in web form which hosted web user control, it does not work too. Can we use client side javascript in web user control and how to code ... |
|
| Control Run JavaScript (2 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Hello All, I have an Iframe in a usercontrol that gets populated via JavaScript. Is a way to call my JavaScript function when the controls gets loaded? Thanks, Scott |
|
| Setting user control variables (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com I am having trouble setting user control variables when instantiating the control. Trying to do something like PARADIGM:MODEL id "Model1" IndustryID %# getIndustryID() % runat "server" /PARADIGM:MODEL The getIndustryID() method isn't working here. Can anyone help? |
|
| control quiz (2 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com if a control requires special javascript code in the HEAD tag, can I check if it exists and add it if it doesnt to the header when the control(s) are there? I am thinking of making "expandable" control that inherits asp:hyperlink When you see debug tracing etc, you can expand the text. I want to make a control that ... |
|
| Adding Events to web controls (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Is it possible to inherit a web control and add a new event handler? I want to change the calendar to have a Click event so that I can do something each time the user clicks on a date. From what I can tell, the SelectionChanged event already comes very close to this, but, it will not fire if the user clicks on a day that is already selected. Maybe there is already an event that fire then, but I ha... |
|
| Controls - maintaining the original color (2 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com Howto? I am writing my own full fledged control based on the TextBox. Then if "internal" validation fails, it sets a red background color... Now if some funny designer wants it purple as default... how can I make it "remember" the color which was first set? do I need to have another property that says "StartColor" o... |
|
| Weird User Control (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Has anyone ever encountered a User Control that causes its host ASPX to load itself twice? If I put a break point in my page load event, it is being reached twice before the page finishes loading. If I remove the user control, then it does not do this. It also only seems to happen with a user control that has its own code behind. I can post code if needed Thanks! devin |
|
| user control data binding problem (4 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi, How can I get my user control to take dataitem values from a databound repeater? ASP:DataList id "repeater1" runat "server" RepeatLayout "Table" RepeatColumns "4" ! no values passed to user control ItemTemplate CG:MyControl runat "server" Caption " %# ((DictionaryEntry)Container.DataItem).Key % " / ... |
|
| Passing a variable to a usercontrol (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| I have a user control being called with the following code. I'm attempting to pass it either the variable intCustomerId, or request("CustomerId") for dbId, but can't seem to find a way to do this. Could someone give me the syntax. I would really like to do it inline instead of in the codebehind, because the control will be in a repeater and the value really needs to be there for the page load even... |
|
| First Web Control Queries (4 replies) |
| ASPFriends.com 'aspngreuse' list |
| Copied from [aspngcontrolscs] to [aspngreuse] by Charles M. Carroll charlesmarkcarroll@yahoo.com I am just starting to create my first web control and have a couple of questions that I am not sure about. 1. What is the difference between a web control and a server control looking around the they seem to be one and the same so why the different names? 2. How can I access Querystrings being passed t... |
|