thanks DaZZleD .... I needed to have the hidden field on the main hosting page ... not in the User Control ... that is why the JavaScript was failing.
Thanks soo much for the help!
DazzleD ... the hyperlink is not working ... It looks like I'm getting a javascript error .. it is not posting back at all! What is wrong with my hyperlink javascript? I have it like you suggested!
<asp:datalist id="MenuList" CellPadding="0" runat="server">
<HeaderTemplate>
<IMG alt=""...
DazzleD ... I'm confused ...
OK here is the hidden field I added to the UC in addtion to the Datalist already in the UC
<INPUT id=txtHidden runat="server" type=hidden size=17
value='<%# "../default.aspx?MenuID=" &amp; DataBinder.Eval(Container.DataItem, "MenuID") &amp...
Hei DazzleD ... do three lefts really make a right? You got me spinning in the kitchen!
Seriously though ... what about my Request.QueryString items? Does that mean I have to now find a way to put them in hidden fields on the form before submitting or is there a better way?
Here is what I found I may be doing wrong .. but need to overcome!
I started trying to use a DataList as a navigation menu ... each item is linked to a HYPERLINK!!!! This appears to be my problem. The hyperlink DOES NOT trigger a POSTBACK .... .. it reloads the page from scratch again i believe...
how can i read back what a user has entered into the user control. ... I'm getting frustrated trying to read back the property .... from dynamically adding the UC
stsuing
the FindControl does not seem to work ... it can't find it when you submit the page again ... Moreover when I go into View/Source .. I do not see any control named "MyControl" ..even though I typed in
control.ID = "MyControl"
when I created the control and added dynamically!
I have similar problem ... I am trying to add a 2nd instance
i right-clicked on the default
1. SQL Server Group
2. New SQL Server Registration
then tried to use the SQL Server Wizard to create a New INSTANCE. However it did NOT work although it created a new "ICON" (no green light!) for the...
there is no NAME property when you create a control .. only an ID property ..and when I set it ... later the FindControl did not work ... as simple example might help!
I used a simple example and I set the id property as "Step1Control" .. when the page came up and I looked at the View Source...
If I add a user control (UC) at design time ... I have no problem reading from the controls in it ...say (text boxes) bcos I create a public property for each text box.
say in my UC i have a TextBox txtfname ...and a property p1_txtfname to read and write to it
Public Property p1_txtfname()...
but the CPU usage history is pegged at 100% ... under the performance tab ... and my admin guy is not happy with it...
normally when there is no activity ... it should be pegged at 1% to 5% ..or so ....
... looks like
System Idle process CPU Time Mem Usage
16:39:31 16K
every other process has CPU Time in the order of zero's ..
0:00:08 say
will appreciate any help
i run Ad-Aware 6.0 ... updated Norton anti-virus ..... still pegged at 100% .... PC though appears to run my .NET app OK.
what else can I do to remove or "end process" of whatever is giving me gray hairs!
I'm trying to build an ASP.NET web site with a SQL Server backend ... using the ASP.NET Community Starter Kit .. which is very integrated with SQL Server.
Earthlink supports only Access databases ... do you know know any web hosting companies that supports SQL Server.... and perhaps FrontPage...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.