| Thread | Last Post | Replies |
|
| Calling a function from a user control | 05 Dec 2004 00:32 GMT | 7 |
I have a user control which contains a button. In the btn click event handler I need to call a funtion in the parent aspx page, but not sure how to do it. TIA,
|
| controls in placeholder were lost after postback | 04 Dec 2004 20:39 GMT | 7 |
i developed a user controls in a web application. the user controls will be created dynamically and put them into a placeholder. when i click a buttom, all controls with data are lost. i spent 3 days to find a solution. but... some articles said using viewstate can fix it. but i ...
|
| databinding | 04 Dec 2004 08:15 GMT | 3 |
Hi all, I have a dataSet containing a table. I want to create a Web application with textboxes that are attached to fields in the dataSet's table, such that data entry is filtered by the datatypes of
|
| Wiring events from UserControls | 04 Dec 2004 06:03 GMT | 1 |
I have created a UserControl (actually, a From/To control, containing two list boxes and four buttons: MoveLeft, MoveAllLeft, MoveRight, MoveAllRight). It works fine, but now I need to raise the following two events so that in the container I can, depending on whether the "TO" ...
|
| ValidationExpression | 04 Dec 2004 00:59 GMT | 3 |
I have attached a RegularExpressionValidator Control to a textbox to accept numeric values in the format: ###*#####*## I have entered the following regex in the ValidationExpression:
|
| forcing datagrid columns to wrap | 03 Dec 2004 20:23 GMT | 2 |
I have a datagrid with several columns - one of which has a large amount of text to display. I have set the width to be 500px and have set wrap="true". For most of the data this is working fine. The problem is when the data doesn't contain any white space - like a
|
| Textbox vs Label | 03 Dec 2004 18:05 GMT | 1 |
I found that both textbox and label renders diferently for the same string that I have. The string looks like this: "<something>" Textbox renders is as it is but label sees it as a malform html tag.
|
| CheckBox onChange Event | 03 Dec 2004 17:11 GMT | 1 |
OnChange even of a CheckBox should respond to both check and uncheck events. However, it seems it only respond to check event. Any thoughts? BTW, I am using it in a datagrid, would that change the behavior of the
|
| Page_Load in UserControl | 03 Dec 2004 17:07 GMT | 1 |
I am *VERY* confused - I understand that the Page_Load event of a user control is completely independent of the Page_Load event of the container page. I just started with User Controls and now I was trying my hand at creating a
|
| Control ID | 03 Dec 2004 15:55 GMT | 3 |
My custom control's ID is automatically generated at design time when dragging the control onto the webform, however it is not generated when the control is programmatically created in the code behind. Is there a way for a control to automatically generate a unique id if one has ...
|
| CreateChildControls before LoadViewState = Bug for DataGrid and Repeater | 03 Dec 2004 15:29 GMT | 3 |
I've found what seems to be a nasty bug in the DataGrid and Repeater classes. If CreateChildControls gets called before LoadViewState, ViewState fails to map and you end up with nothing on a Postback. Please try the following test, and let me know if you can reproduce
|
| More problems With Controls | 03 Dec 2004 13:15 GMT | 6 |
I have posted this problem a few times before and gotten responses about not enough information about the Problem so this time I will give a lot of info. I am having a problem with some Web User Controls in a new web app I am developing.
|
| Urgent (please help): Post-back problem | 03 Dec 2004 02:09 GMT | 4 |
Hello every one My problem is very clear but crazy. I have a DataRepeater in my page that I have made the paging mechanisem for it with a user control. This user control contains a Repeater too. Let's call
|
| UrlPropertyAttribute question | 02 Dec 2004 22:03 GMT | 3 |
I have developed a WebControl that has a "MyUrl" member property. I have added the UrlPropertyAttribute attribute to the specific MyUrl member. Now, when I edit the new element in the aspx page (Source view), the IDE (vs.net 2005 beta 1) intellisense will give me a "Pick Url.. ...
|
| Strange textbox behavior | 02 Dec 2004 21:34 GMT | 7 |
1) I populate a web control text box from a SQL Server DataReader on the page load event. 2) Change the text via the web page and click "Save" button 3) Code behind button click on the "Save" updates the data record
|