all groups > asp.net webcontrols > november 2004 > threads for november 29 - 30, 2004
Filter by week: 1 2 3 4 5
Building a table from within a loop
Posted by Grant at 11/30/2004 9:39:05 PM
Hi,
Ive got this loop within a loop and Im trying to build a table. Problem is
when I exit the 2nd foreach loop (having created a new row) I cant add the
new row because it isnt in scope anymore. Basically I have this custom
arraylist containing a name property which has multiple attributes... more >>
Problem With Controls
Posted by poolguard at 11/30/2004 7:13:04 PM
I am having a problem with some controls in a new web app I am developing.
Here is the situation
I have a Base class that is inherited by Form.aspx them Form.aspx loads 2
controls Menu.ascx that never changes and a body control that is selected
dynamically at runtime. On each of the body c... more >>
Query Builder
Posted by Michael Chong at 11/30/2004 6:25:34 PM
Regarding Query Builder from OleDbCommand, it seems doesn't work well with
SQL syntax "ColName LIKE 'abc'", is that right? My SQL syntax works
perfectly in my database testing but it doesn't work at all in aspx.
Please advice! TQ
Michael.
... more >>
TabStrip - TabItemCollection
Posted by theintrepidfox NO[at]SPAM hotmail.com at 11/30/2004 5:47:22 PM
Dear Group
I wonder if anyone can advise me on how to assign a TabItemCollection
to a TabStrip control. In the code below, 'PopulateTabStrip' is a
function, returning a TabItemCollection that has been populated with
values from a database. I then would like to assign this collection to
the Ta... more >>
Strange textbox behavior
Posted by Craig Andrews at 11/30/2004 5:32:39 PM
Hello,
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
4) The changed text in the text box reverts back to what ... more >>
On post back repeater's Item.DataItem are all null (?)
Posted by shodson NO[at]SPAM gmail.com at 11/30/2004 5:31:02 PM
I have a repeater like this
<asp:Repeater id="rptPremiums" EnableViewState="True"
OnItemDataBound="rptPremiums_ItemDataBound" runat="Server" >
For brevity's sake, suffice it to say there are header, item and
footer templates defined here as well.
And I bind to it in my code-behind like th... more >>
User Control Position
Posted by IntraRELY at 11/30/2004 3:36:34 PM
I cannot seem to position my user control. Here is the code:
<uc1:manageButtons id=ManageButtons1 style="Z-INDEX: 108; LEFT: 464px;
POSITION: absolute; TOP: 480px" runat="server"></uc1:manageButtons>
What gives?
... more >>
Using HTMLInputRadioButton Control in a Datagrid
Posted by Elliot Rodriguez at 11/30/2004 2:40:03 PM
Thanks for reading my post.
I have a requirement for the UI I am developing that necessitates I use
a radio button within each row of a DataGrid (dont ask, I was instructed
to do it this way). The radio button's value needs to be assigned a
value from a column in the grid's datasource.
I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
databinding
Posted by delphiconsultingguy NO[at]SPAM yahoo.com at 11/30/2004 12:42:54 PM
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
those fields (e.g. 'age' text box only accepts numbers because its
field is integer). Is t... more >>
Urgent (please help): Post-back problem
Posted by Amir at 11/30/2004 12:41:03 AM
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
this control Paging Control.
The Paging control provide some links for paging.
When ... more >>
Calling a function from a user control
Posted by IntraRELY at 11/29/2004 8:30:16 PM
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,
Steve
... more >>
Debug ASP.NET application
Posted by R. Myers at 11/29/2004 11:49:36 AM
I am having trouble debugging my ASP.NET application. I am trying to debug
a web control library. If I put a breakpoint in a virtual function, or an
overridden function in a derived class, it skips it, and doesn't stop.
However, if I step into a virtual or overridden function, and then set
bre... more >>
Setting Content Type No Longer Returns Dynamic Controls
Posted by Andy at 11/29/2004 9:51:22 AM
I have a web page that contains a place holder control.
I create a table in code and add it to the place holder
controls collection and the table displays correctly in
html. If I set the mime type to return a word document the
table is never created. If I add any text using
response.write it ... more >>
ASP.NET Datagrid, doesn't fire events for editcmommand etc..
Posted by KK at 11/29/2004 9:31:06 AM
Hi guys
I am using the ASP.NET datagrid webcontrol.
It has an <asp:editcommandcolumn> with a
pushbutton type. The problem is when I click
the button it does not fire the;
private void dgQuestions_EditCommand(object source,
DataGridCommandEventArgs e) event.
To my knowledge for this th... more >>
problem with validationsummary and custom controls
Posted by killkennyhouse NO[at]SPAM hotmail.com at 11/29/2004 7:04:08 AM
Hello, can some one help me with this problem?
I have a mainpage with validationsummary control. usercontrols are
loaded dynamically. I do validation in these usercontrols. Some of
them I use requiredvalidation others I use customvalidation.
Here is the problem. The error messages from my re... more >>
Conditional dynamic loading of a web control?
Posted by haile at 11/29/2004 5:05:04 AM
Anyone know how to load a button and its event handler to a web page as a
result of a user action? This can't be done from Page_Load( ), because the
Page_Load event fires before the user action can set a property. And yet, if
the event handler is added at any time after Page_Load, the button... more >>
webform - resize the datagrid
Posted by Shrine at 11/29/2004 1:19:02 AM
I have a datagrid in the webform. I want to resize the datagrid columns using
mouse. Can anyone give me the code.?
--
Bye,
Shrine... more >>
|