Ask a Question related to ASP.NET General, Design and Development.
-
Elliot Rodriguez #1
Re: using code behind variables in .aspx
avs:
If its a WebControl then you can acess it in codebehind already.
In codebehind you need this line:
yourtableid.width = intWidth
--
Elliot M. Rodriguez, MCSD
*** It would take 227 cans of Mountain Dew to kill me***
"avs" <amith.shetty@cbre.com> wrote in message
news:uRfM$b3VDHA.2316@TK2MSFTNGP09.phx.gbl...> i have a variable declared on my code behind .vb page
> i need to access this variable from my .aspx page withing server controls.
>
> <td width=<%intWidth%> ></td>
> this works
>
> <asp:tablecell width=<%intWidth%> > </asp:tablecell >
> this doesnt work
>
> what is the syntax for the second case to work?
> Thanks in advance.
>
>
Elliot Rodriguez Guest
-
Passing code/data from code-behind to ASPX page
I have the following code in my code-behind file: DataGrid MAPPsDataGrid = (DataGrid)((((((Repeater) sender).Parent).Parent).Parent).Parent); ... -
How to pass variables from aspx page to user control
Hi, Anybody knows how to pass variables from aspx page to user control? Thanks in advance -------------------------------- From: Sathyadeva... -
Help Needed: Passing variables securely to other ASPX pages
The problem that we are experiencing is simple: We want to pass certain parameters from a page with several server controls to another page. ... -
Replacing code based on static variables to variable variables.
Can anyone give me some help or tips in converting this code to take 2 variables that will specify the number of Pack type lines and the number of... -
Code being called twice in my ASPX Code behind??
Hi, I have an ASP.Net application. I have an aspx page with a button that submits the page. In my codebehind I check if it is a postback and...



Reply With Quote

