To modify the login page as an admin you can access it via Page Management page. Once you find the login page, right click and click "View Page". I needed to add a custom page container, and this worked.
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...
So the problem I encountered was that the site would throw an ugly "maxAllowedContentLength exceeded" error when a user would try to upload a file beyond a certain size. One of the difficulties with this is that the error is thrown before it even gets to an event, so you cannot try to handle it there. One solution that worked locally for me was to modify the web.config in two places, I will link that page below. Too bad for me that solution did not work on the server for some unknown reason. I had also tried handling it in the global.asax, but DNN, our CMS, is somehow preventing that from working. I will link that too below. So then I turned to a client side way of restricting it. The way the client side restriction works is that it uses a newer functionality of html5 that allows most browsers to get the file size. Older browsers will not work with this, but at this point I am fed up with this and DNN. Also if they disable Javascript th...
Say you have something like ViewState("AccountID") in a c# page when trying to use Viewstate. It will give the error "The name 'ViewState' Does Not Exist in the Current Context". What is incorrect about the code is you should be using "ViewState["name"]". Encountered that error from a page conversion to C#.
Comments
Post a Comment