try <input type="checkbox" runat="server" id="mycheck" />
instead of <asp:CheckBox and see if you get the same problem.
It does sound more like your javascript function showHide is broken though.
You don't have a local smtp mail relay setup. I use gmail where I can't set up a mail relay because of corporate policy. If you don't have one you can set one up in 5 minutes for free.
MailMessage message = new MailMessage();
message.Body = "Hello";
message.Subject =...
I am trying to use a dynamic external image.
The source=External and value="http://ReportsServer/images/CustomChart.aspx"
A red x appears rather than the image. When you right click on the image the url shows only "http://ReportsServer/".
I tested it and the dynamic image by it self does render...
This seems to work. I would stay away from using many dynamic properties on one page, they can slow down IE.
Would still like to know if this is some new issue.
<table height="100%" style="height:expression(this.parentNode.offsetHeight)" id="tbl" width="100%" cellpadding="0" cellspacing="0"...
Noticed this with IE 6.0 the other day. The cells don't seem to grow and expand correctly anymore. Is this some thing new or something I never noticed.
In sample below the red side of the table should be the same height as the blue side. It displays correctly in Firefox but in IE the red side...
Goto http://msdn.microsoft.com/asp.net/learning/learn/newtodevelopment/default.aspx
and watch the "ASP.NET HOW DO I Video Series: Tips and Tricks" video. It explains how to cross page postback in 2.0
Found the answer.
You have to download an add on for VS Studio 2005 (if you are using VS Studio 2005 you can also do this by command line) to pre compile web application code with more options.
http://www.123aspx.com/redir.aspx?res=33525
Turn custom errors to Off in the web config.
Add a global.asax file to the project.
Capture the error handler like this:
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when an unhandled error occurs
Server.Transfer("errors.aspx")
End...
When I deploy a web applicaion to a 2003 server my debug symbols are gone.
The debug information excludes the line numbers (the most important part).
I have <compilation debug="true" > in the web config.
I even tested it using a special error page.
Sub Application_Error(ByVal sender As...
Just a thought if you have control of the requested site.
You can use IIS to require window authenticated users or use the Web.config.
In iis check to allow anonymous access and try the web.config method in place of that.
<authorization>
<deny users="?" />
</authorization>
I knew someone with the same issue.
The uninstalled iis, dot net frame and com+.
Then they reinstalled com+, iis and dot net framework in that order and all was well.
Works better with single quotes.
<asp:label text='<%=myVar %>' />
You also need the runat=server or the control will not render if this is inteded to be a asp:label.
Make sure myVar is Public and not Private and that it is assigned it's value on Page_Load.
On the server you can use:
Place a literal control add the very end of the HTML page but within the <Form></FORM> tags.
The literal has an id of "MyLiteral"
MyLiteral.Text = "<script>window.setTimeout(""document.getElementById('" & MyTextArea.ClientID & "').scrollTop=10000"",500)</script>"...
I have filtered the data before assigning it to a datasource (dataset or XML file).
From looking at the code below is looks like I have done some filtering on the report itself. (Did this last year)
There may be other ways but filtering it first was the easiest approach.
Here is some code I...
You can have the entire grid editable if you want.
For instance you can have a column with a checkbox and others with textboxes.
Use a column with visible=false that contains your key.
In the submit button click:
for each item as datagriditem in DataGrid1.items
dim Customer_ID as string =...
You don't need to use the same instance of the data adapter.
You do need it configured to update,insert,delete.
It is done with one drag of the mouse when you drag your data table from server explorer onto a component or page.
Or use the wizard...
Try butting the placeholder right up against the <TD> tag.
<TD align=center><asp:PlaceHolder id="phControl" runat="server"></asp:PlaceHolder>
Also I noticed it looks like you need a closing </tr> and a closing </table> tag.
phControl.Controls.Add(new LiteralControl("<td class='label'>"))...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.