Make sure to remove any sort of specific page in property settings for the project. Also make sure that if you have a page it actually is the correct link for it.
As anyone that has dealt with this knows Telerik only supports a single Group or Header Template. So what happens when you want to change them? You really only have two options from what I have seen. The first option is to have something in the data that is brought back that you can use in the designer code in the form of a conditional. Too bad I do not see a way to check the data based on level like some sort of ParentID like some people have done. If the ParentID is null It would look something like below where you check it in the designer: < asp : Label runat = "server" ID = "Label2" Text = '<%# "Number of items in group: "+ (((GridGroupHeaderItem)Container).AggregatesValues["AvailableUnits"]) %>' Visible = '<%# ((((GridGroupHeaderItem)Container).AggregatesValues["AvailableUnits"]) != null)%>' > Or you can use the code behind to really get at the groupIDs like this per...
Found that in some cases if a user presses back, then our captcha solution would redisplay the image. This would potentially allow a user to retry the same captcha over again which for security reasons would be bad. Placing these in the Load section of the page seems to have removed that issue.: Response.AppendHeader("Cache-Control", "no-cache, no-store, must-revalidate") 'HTTP 1.1. Response.AppendHeader("Pragma", "no-cache") 'HTTP 1.0. Response.AppendHeader("Expires", "0") 'Proxies. http://stackoverflow.com/questions/49547/how-to-control-web-page-caching-across-all-browsers/2068407#2068407
Say you get the response stream, and you want to see what the value is in the Watch. Dim resp As HttpWebResponse = DirectCast(req.GetResponse(), HttpWebResponse) Dim sr As New System.IO.StreamReader(resp.GetResponseStream()) Return sr.ReadToEnd() You click the little refresh button you can evaluate the stream and view the response. However, when the stream returns the object it will be string.empty. Visual Studio 2012 does warn you about it having side-effects, but I did not think it would be to this extent. I would think it would reset the stream to the previous state when continuing, but it does not. Odd.
Comments
Post a Comment