Ask a Question related to ASP.NET General, Design and Development.
-
Elliot M. Rodriguez #1
Re: <tr id="MyRow" runat="server"> ... </tr> doesn't appear in server-side code
pschrader:
Look at the top of your page, where your controls are declared. Do you see
one for HTMLTableRow? You may have to manually add it, if you created the
HTML first, then added runat=server to the tag.
--
Elliot M. Rodriguez, MCSD
*** It would take 227 cans of Mountain Dew to kill me***
"pschrader" <pschrader@bieber-gruppe.de> wrote in message
news:%23FiRsS5TDHA.3324@tk2msftngp13.phx.gbl...code.> Hello!
>
> I'm trying to modify an ASP.NET program.
> I'm using W2K, C#, Visual Studio .NET 2003.
>
> From my books I learned that adding a runat attribute having a value
> "server" makes Html controls available in the server-side code.
> However, after modifying a table row such that
>
> <tr id="MyRow" runat="server">...</tr>
>
> I get no object of name MyRow and type HtmlTableRow in my server-side>
> What's going wrong ?
>
> Your kind help would be appreciated.
>
>
>
Elliot M. Rodriguez Guest
-
how to get a file from the "Testing Server" / "remote view"
if I want to get a particular file from the "Testing Sever" or "remote view" in my extension, how can i do so? Thanks a lot!!! -
Adding "form runat server" from codebehind..
Hi.. I'm creating a "Web Custom Control" and need to generate a form. I can't put the form tag's to the aspx-fil. I have to generate them from... -
runat="server"....a simple html textbox or a webform server textbox...that is the question.
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the... -
Is it possible to call Javascript's window close() from <SCRIPT RUNAT="SERVER">?
string strScript = "<script type=\"text/javascript\"><!--" + Environment.NewLine + "window.close();" + Environment.NewLine + "// --></script>"; if... -
#include and <script runat="server">
There seem to be two ways to include files on the server: 1. <!-- #include file="header.inc" --> 2. <script language="VBScript" runat="server"... -
Marina #2
Re: <tr id="MyRow" runat="server"> ... </tr> doesn't appear in server-side code
Sometimes you have to switch to Design mode for your page to force the IDE
to put the declaration for the object in your code.
Other times, it just misses it, and you have to do it by hand.
"pschrader" <pschrader@bieber-gruppe.de> wrote in message
news:%23FiRsS5TDHA.3324@tk2msftngp13.phx.gbl...code.> Hello!
>
> I'm trying to modify an ASP.NET program.
> I'm using W2K, C#, Visual Studio .NET 2003.
>
> From my books I learned that adding a runat attribute having a value
> "server" makes Html controls available in the server-side code.
> However, after modifying a table row such that
>
> <tr id="MyRow" runat="server">...</tr>
>
> I get no object of name MyRow and type HtmlTableRow in my server-side>
> What's going wrong ?
>
> Your kind help would be appreciated.
>
>
>
Marina Guest



Reply With Quote

