Click here to Skip to main content
15,895,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to Declare a variable which is static and also global Pin
Hemant Garg18-Jun-07 1:00
Hemant Garg18-Jun-07 1:00 
AnswerRe: How to Declare a variable which is static and also global in vb Pin
RepliCrux18-Jun-07 0:59
RepliCrux18-Jun-07 0:59 
GeneralRe: How to Declare a variable which is static and also global in vb Pin
Hemant Garg18-Jun-07 1:02
Hemant Garg18-Jun-07 1:02 
QuestionRendered HTML output Pin
moon_stick18-Jun-07 0:35
moon_stick18-Jun-07 0:35 
AnswerRe: Rendered HTML output Pin
N a v a n e e t h18-Jun-07 0:46
N a v a n e e t h18-Jun-07 0:46 
AnswerRe: Rendered HTML output Pin
RichardGrimmer18-Jun-07 0:53
RichardGrimmer18-Jun-07 0:53 
GeneralRe: Rendered HTML output Pin
DavidNohejl18-Jun-07 1:19
DavidNohejl18-Jun-07 1:19 
AnswerRe: Rendered HTML output Pin
moon_stick18-Jun-07 3:20
moon_stick18-Jun-07 3:20 
After a bit of playing about I've decided to go a slightly different route - instead I create a new Page object in memory add an HtmlForm and then add the (now customisable list of) controls from the original form to it. I can render in memory and retrieve the HTML using the <code<rendercontrol< code=""> method.

It caught me out at first but since I've added objects to a temporary page, they get removed from the original page at the same time! A quick <code>Dictionary<Control, int> to store the index they occupy on the original form lets me add them back across at the end.

HTH

Dave
QuestionSession Problems Pin
Russell Jones18-Jun-07 0:14
Russell Jones18-Jun-07 0:14 
QuestionCoudl not get ListBox Value Pin
J Liang18-Jun-07 0:02
J Liang18-Jun-07 0:02 
AnswerRe: Coudl not get ListBox Value [modified] Pin
RepliCrux18-Jun-07 1:25
RepliCrux18-Jun-07 1:25 
GeneralRe: Coudl not get ListBox Value Pin
J Liang18-Jun-07 15:05
J Liang18-Jun-07 15:05 
AnswerRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 15:16
RepliCrux18-Jun-07 15:16 
GeneralRe: Coudl not get ListBox Value Pin
J Liang18-Jun-07 17:29
J Liang18-Jun-07 17:29 
GeneralRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 17:36
RepliCrux18-Jun-07 17:36 
GeneralRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 17:39
RepliCrux18-Jun-07 17:39 
GeneralRe: Coudl not get ListBox Value Pin
J Liang20-Jun-07 16:03
J Liang20-Jun-07 16:03 
Questiondialog box Pin
niki_nilu17-Jun-07 23:51
niki_nilu17-Jun-07 23:51 
AnswerRe: dialog box Pin
N a v a n e e t h17-Jun-07 23:56
N a v a n e e t h17-Jun-07 23:56 
GeneralRe: dialog box Pin
niki_nilu18-Jun-07 0:03
niki_nilu18-Jun-07 0:03 
GeneralRe: dialog box Pin
Revathij18-Jun-07 0:24
Revathij18-Jun-07 0:24 
GeneralRe: dialog box Pin
N a v a n e e t h18-Jun-07 0:27
N a v a n e e t h18-Jun-07 0:27 
GeneralRe: dialog box Pin
niki_nilu18-Jun-07 1:45
niki_nilu18-Jun-07 1:45 
GeneralRe: dialog box Pin
N a v a n e e t h18-Jun-07 17:49
N a v a n e e t h18-Jun-07 17:49 
QuestionRefreshing User Control Pin
wEb GuRu...17-Jun-07 23:19
wEb GuRu...17-Jun-07 23:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.