| Thread | Last Post | Replies |
|
| typed DataSet-bound DataGrid sorting | 29 Jun 2004 15:00 GMT | 2 |
Hi. I have a DataGrid bound to a typed DataSet and I just couldn't figure out how to sort the damn thing. I tried setting the Sort property of the DataTable.DefaultView and the Attributes["SortExpr"] of the DataGrid but I think the order of events matter. Here's a breakdown of ...
|
| Add Inner HTML to Table? | 29 Jun 2004 08:42 GMT | 5 |
I need to add a behavior to a table and its rows. I cannot determine how to do this. My code looks like this: HtmlTable testTable = newHtmlTable(); HtmlTableRow testRow = new HtmlTableRow();
|
| Disabled Controls | 29 Jun 2004 08:27 GMT | 3 |
Okey, here's a puzzler: One of our users reports that when she tries to complete a data entry form, the dropdownlist and radiobuttonlist controls work fine but she can't enter anything into the textbox controls. Nowhere in the codebehind is any textbox's Enabled property
|
| Dynamic Control Not Participating in PostBack | 29 Jun 2004 03:16 GMT | 2 |
A method in my code-behind is called when a certain condition happens. This method does this: ImageButton dynButton = new ImageButton(); dynButton.Click += new ImageClickEventHandler(dynButton_Click);
|
| Calendar Control SelectedDate Property | 28 Jun 2004 23:14 GMT | 3 |
I have created a new Web Form, example.aspx, with a Calendar control, Calendar1. In the Page_Load event of example.aspx I have included; Calendar1.SelectedDate = "28/08/2004" When I run the page, the month displayed is June 2004. If I then navigate to August, I see that ...
|
| How to stop users from clicking buttons more than once? | 28 Jun 2004 16:10 GMT | 8 |
I have a C# asp.net page that when you click a button, it writes a record (based on entered values) to the database. I've found that if you click the button multiple times quickly, multiple records are written. What is the best way to deal with this? The page takes a few seconds to ...
|
| dynamic events on dynamic controls | 28 Jun 2004 10:12 GMT | 2 |
I'm creating my first custom control; it has a table with a variable number of cells (user defined at design time). Each cell has a button. Is it possible to attach events to these buttons? If so, how?
|
| How to access web control from code behind page? | 28 Jun 2004 05:39 GMT | 5 |
I have a web control I made called header.ascx. It has its own properties and methods I defined. But I cannot figure out how to access this control from my code behind page. I can create the web control just fine and script with it as needed from the
|
| URGENT - RequiredFieldValidator not working after deployment - | 28 Jun 2004 00:00 GMT | 3 |
Hi!, I'm having a strange issue while deploying a web site with Validator controls. In my development machine the Validators function perfecly and also when I deploy using XCOPY to a web server.
|
| Treeview | 27 Jun 2004 18:13 GMT | 1 |
Does any know about or have any resources for the a treeview control? Any place to start would be great Thanks Lee
|
| Best way to render a custom web control | 26 Jun 2004 14:23 GMT | 2 |
I have a custom web control that basically consists of a dynamically created table and HTML checkboxes. I spent hours typing things like: writer.AddAttribute(HtmlTextWriterAttribute.SomeAttribute, "SomeValue"); writer.RenderBeginTag(Td);
|
| help with events (i'm new to this) | 26 Jun 2004 13:21 GMT | 2 |
I can see there is an issue with web user control events on postback but dont fully understand how to implement a solution. I have a button on my aspx page, when clicked it adds instances of my web user control to a placeholder, it looks ok visually but events in the
|
| Creating a Control in a web form Dynamically | 26 Jun 2004 08:58 GMT | 1 |
May you kindly tell me how to create a label control in the web form dynamically and change its width and top properties thanks in advance
|
| ClientID seems wrong inside DataGrid | 25 Jun 2004 16:40 GMT | 3 |
I am trying to access the value of a text box in a DataGrid from inside JavaScript. I have tried the following: void Item_Created(object sender, DataGridItemEventArgs e) { Button b = ((Button)e.Item.FindControl("AddUserButton"));
|
| Composite control problem !!!! | 25 Jun 2004 11:09 GMT | 1 |
I have a composite control which only consists in a datagrid control for beginning. I create the datagrid control within the EnsureChildControls method and set the AutoGeneratedColumns to false
|