"Amjad" <Am***@discussions.microsoft.com> wrote in message news:30**********************************@microsof t.com...
(.aspx) file in Browser, I could see the text in the Label Control but I
couldn't see the button at all! Does any one know where the problem might be?
PS. If I add an HTML Button control, I can see this button in the browser.
Select the View | Source command from within Internet Explorer and see if the
source that comes up is identical to your .aspx page (i.e., it contains <aspx:Label>
etc. tags instead of HTML tags). You'll "see" the text of a label because HTML
discards tags it doesn't understand but can still display child text nodes, whereas
an aspx:Button's caption is an attribute value so you wouldn't see that.
If it's true that the Browser is receiving the raw .aspx document instead of the
results of IIS running the .aspx document through the ASP.NET ISAPI filter,
then you probably need to register ASP.NET with IIS (did you install IIS after
installing the Framework?) using this command-line utility,
aspnet_regiis.exe -i
If you're not seeing the raw .aspx document when you View | Source in the
browser, then this isn't the problem you're having.
Derek Harmon