| CheckBox in DataList and the DataList in Repeater. (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Hi all. I faced the problem. I have aspx page which contains Repeater. Repeater contains ascx. My ascx contains DataList. DataList contains CheckBox. I tried to get the checked CheckBox, only to fail. I can not find out the reason. aspx asp:Repeater ID "Items" Runat "server" ITEMTEMPLATE P FONT color "#ff0000" B [ %# DataBinder.Eval(Container.DataItem, "MONITOR TYPE") % ] /B /FONT BR Monitor:Item ... |
|
| User Controls and Javascript (3 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Building a site that uses the same group of menus on several pages. The menus are built using client side javascript. Was thinking about building a User Control to hold the menus, but I've never seen an example of using a User Control with client side script. I guess it can be done. Was wondering if anyone has tried or has an opinion..... |
|
| Dynamic loading ascx (3 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Help I have a webpage which consists of several panels. These panels all contain generic data except one. I try to load a ascx into this. When the ascx is in the same project thing go well. But I need to load the assembly (and the control) dynamically, because there can be an unknow number of assemblies which use the webpage. HELP PS I don't know where this question belongs, so please be gentle wi... |
|
| Problem with custom server control (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| I am having problems with custom server controls that use some of the VB built in functions (e.g., UCase and LCase). I have created a totally stripped down custom server control and have the same behavior. When I compile the control foo.vb I get the following error: C:\Inetpub\wwwroot\VSTest vbc /t:library /r:system.dll,system.web.dll foo.vb Microsoft (R) Visual Basic.NET Compiler version 7.00.925... |
|
| Page_Validators && Custom Controls (6 replies) |
| ASPFriends.com 'aspngreuse' list |
| Copied from [aspngcontrolscs] to [aspngreuse] by Charles M. Carroll darthcarroll@asplists.com Reposted From FreeForAll Sorry :( Hello, I have a custom control that adds a textbox like control my page. I want to assign a requiredfieldvalidator to this text box, but I can't seem to get it right. When the code is executed, I get an error message stating "Page Validators" is undefined? However, other ... |
|
| Passing the Page object (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| I'm trying to communicate between a web page and a non web object (standalone vb assembly). ASPX page invokes a method on an instantiated object like so: Dim f as New foo f.saveAllFields(Me) Class foo receives the call like so: Public Class foo ... Public Function saveAllFields (p as Page) ... For Each ctl In p.Controls() str str & "control type/ID " & ctl.GetType.ToString & "/" & ctl.ID) & " br "... |
|
| Client Side Access of Custom Server Control (4 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Hi, I was wondering if there are any examples of allowing client side access to a custom server control. I'd like to be able to do something like this: Custom:MyCustomControl runat server Id "myControl" OnChange 'javascript:TextChange();' / This would allow the user of the control to specify a client side action to associate with an event. To complicate matters, my control is a composite control a... |
|
| Custom COM wrapper? (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Greetings, I have a blackbox legacy COM object that just so happens to return some user defined objects as opposed to base types likes strings and ints. Tlbimp understandably has difficulty with these types and defaults them to Object. Here's a snapshot of such a class. It's "REXServiceRequestQuery", which is a collection class of "REXServiceRequest": http://www.warplanner.com/files/ildasm.gif Thi... |
|
| Seeing common properties of custom controls in loop through page collection. (4 replies) |
| ASPFriends.com 'aspngreuse' list |
| Copied from [aspngcontrolsvb] to [aspngreuse] by Charles M. Carroll darthcarroll@asplists.com hey .net gurus I have created a few custom web controls that inherit a regular web control (textbox, checkbox, etc.) and gave them a few extra properties. Now I want to be able to loop through all the controls on a web page, and if a given control is any of my custom controls, I want to access a property ... |
|