Server.Execute will simply output the HTML markup resulting from the execution of any given page. Therefore, you should take a look at the source of the resultant page (when Survey.aspx is invoked from another page) and you would probably find that it has multiple HTML roots. Therefore, the page possibly does not render correctly, because it is essentially two HTML pages in one.
On Mar 29, 6:57 pm, crocboy25 <[email protected]> wrote: > Hello Group, > > I am using 3.5 .NET VB. In a code behind I am calling a page using > this approach: > HttpContext.Current.Server.Execute("Survey.aspx"). > > On the survey.aspx page I have several textboxes are varying sizes. > If I run the survey.aspx page alone, the textbox appear on the screen > in the correct size settings. However, when I use the > HttpContext.Current.Server.Execute method to execute the survery.aspx > page from another page, the textboxes always come back a fixed width > of like 200px or so. It doesnt matter what I change the size of the > width to in the survey.aspx page, they are always rendered the same > size for every textbox on the page. The changes do show up if I view > the survey.aspx page alone though without calling it through another > page so I know my syntax for changing the width settings is correct. > > Does anyone have any idea what causes this and how to resolve it? I > am stumped. > > Thank you for any help > > Lee -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
