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.
When publishing site to live, trying to go to site gives a Server Error – Runtime Error. Looking in the Application logs on the server gave " The directory App_WebReferences/ is not allowed because the application is precompiled." This was causing a bit of stress to a programmer in a our company since he tried to publish a change during business ours. Solution http://stackoverflow.com/questions/9892646/how-publish-my-web-site When publishing the options that work are to have “Delete all existing files prior to publish”, and “Precompile during publishing” checked. And “Exclude files from the App_Data” unchecked.
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
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