Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
108 views
Hey,

I'm trying to dynamically create various levels of detail tables for a project I'm working on. I have almost everything working now (in terms of display anyway) thanks to help from this forum, but there's just one more problem. I'm trying to reference the controls in various edit/insert sections but I've hit something of a problem.

At the top level I've added a hardcoded template in the front-end code, like so:
<EditFormSettings EditFormType="Template">
  <EditColumn UniqueName="EditCommandColumn1">
  </EditColumn>
  <FormTemplate>
    <asp:Panel ID="pnlZForm" runat="server">
      <div id="divZEdit">
        <asp:Label ID="lblMerchantCode" Width="150px" runat="server" Text="Merchant Code:" />
        <telerik:RadTextBox ID="rtxtMerchantCode" Runat="server" Width="150px" />
        <br />
        <asp:Label ID="lblAccountName" Width="150px" runat="server" Text="Account Name:" />
        <telerik:RadTextBox ID="rtxtAccountName" Runat="server" Width="150px" />
        <br />
        <asp:Label ID="lblSharedSecret" Width="150px" runat="server" Text="Shared Secret:" />
        <telerik:RadTextBox ID="rtxtSharedSecret" Runat="server" Width="150px" />
        <br />
        <telerik:RadButton ID="btnUpdate" runat="server" Text="Update" />
        <telerik:RadButton ID="btnCancel" runat="server" Text="Cancel" CommandName="Cancel" />
      </div>
    </asp:Panel>
  </FormTemplate>
</EditFormSettings>

Now I can access these controls (or could on Friday when I was trying to get it to work) in the code by trying to access them in the ItemDataBound. However when I tried to create a template, use that for the form instead in the code and then access control from there it no longer seems to work. The code I'm using to assign the template is as follows (cut down for convenience to just the relevant code):
Private Sub rgdNewRadGrid_DetailTableDataBind(ByVal source As Object, ByVal e As GridDetailTableDataBindEventArgs) Handles rgdNewRadGrid.DetailTableDataBind
  Dim dataItem As GridDataItem = CType(e.DetailTableView.ParentItem, GridDataItem)
  
  Select Case e.DetailTableView.Name
    Case "myDetailTable"
      Dim myTrackingGUID As Guid = New Guid(dataItem.Item("MerchantTrackingGUID").Text)
      Dim myDataSet As New DataSet
  
      '===Get the DetailTable data===
      myDataSet = *get dataset from database*
  
      e.DetailTableView.DataSource = myDataSet
      e.DetailTableView.CommandItemDisplay = GridCommandItemDisplay.Top
      e.DetailTableView.CommandItemSettings.AddNewRecordImageUrl = "../Img/AddRecord.gif"
      e.DetailTableView.CommandItemSettings.AddNewRecordText = "Add New Details"
      e.DetailTableView.CommandItemSettings.ShowRefreshButton = False
      e.DetailTableView.EditFormSettings.EditFormType = GridEditFormType.Template
      e.DetailTableView.EditFormSettings.FormTemplate = LoadTemplate("Templates/myNewAdd.ascx")
  End Select
End Sub

The code for myNewAdd.ascx is just simply as follows, and it DISPLAYS absolutely fine on the form.
<%@ Control Language="VB" ClassName="myNewAdd" %>
<asp:Panel ID="pnlNewForm" runat="server">
  <div id="divNewEdit">
    <asp:Label ID="lblTerminalUserGroupID" Width="150px" runat="server" Text="TerminalUserGroupID:" />
    <telerik:RadComboBox ID="rcbxTerminalUserGroupID" Width="200px" runat="server" />
    <br />
    <telerik:RadButton ID="btnDetailUpdate" runat="server" Text="Update" />
    <telerik:RadButton ID="btnDetailCancel" runat="server" Text="Cancel" CommandName="Cancel" />
  </div>
</asp:Panel>

I'm aware the update button doesn't do anything at the moment, but at the moment I haven't gotten that far quite frankly. I'm more concerned with getting this code to work. So, I set that template as the template and it works, but when I try to access the control it doesn't work. I'm trying to access it in the ItemDataBound. Maybe I'm trying to access things in the wrong order and it's already run ItemDataBound before it's bound the template or something, in which case where do I bind the template? But here's the code I'm trying to use:
Protected Sub rgdNewRadGrid_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles rgdNewRadGrid.ItemDataBound
  If e.Item.IsInEditMode AndAlso e.Item.OwnerTableView.Name = "myDetailTable" Then
    Dim editItem As GridEditFormItem = e.Item
    Dim rcbxTerminalUserGroupID As RadComboBox = editItem.FindControl("rcbxTerminalUserGroupID")
    Dim myDataSet As Data.DataSet
  
    myDataSet = *get data from database*
  
    For Each row As DataRow In myDataSet.Tables(0).Rows
      Dim myItem As New RadComboBoxItem
      myItem.Text = row.Item("NAME").ToString
      If Not rcbxTerminalUserGroupID Is Nothing Then
        rcbxTerminalUserGroupID.Items.Add(myItem)
      End If
    Next
  End If
End Sub

The reason I have "If Not rcbxTerminalUserGroupID Is Nothing Then" is because I was continuously getting a NullReferenceException because evidently it couldn't find the control, even though the control blatantly displays on the page. Like I said above, I'm going to assume this is because of the way that the RadGrids run the procedures possibly, or something else related to the template, but it's immensely annoying and I really want to get this working.

If anyone can help I'll be massively grateful.
Pete
Top achievements
Rank 1
 answered on 30 Nov 2011
2 answers
131 views
Hello telerik members;

Pease can you help on the below;

I have a grid with an edit item command that loads a user control form like:http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx 
I need to close the edit form (user control) when the user clicks back on the edit item command just like clicking cancel button on the user control. 

Best Regards
Amjad
Top achievements
Rank 1
 answered on 30 Nov 2011
2 answers
111 views
Hi there, 

I have an ascx control where I have a timer, a few textboxes and a datagrid in an AJAX panel.

Every 10 seconds, the timer calls a module that builds an SQL query depending on the textboxes given, then fetches the data and binds it to the grid.

My problem is that sometimes it loses its scroll position. It does not necessarily scroll to the top, sometimes it even scrolls to the bottom or middle of the page (This means it is not doing a full page refresh... which is good).

My suspicion is that it scrolls to the control that is focused on.

Anyway to stop this?

Thanks!

K
Kevin Cauchi
Top achievements
Rank 1
 answered on 30 Nov 2011
3 answers
44 views
This was with regards to supporting large data, with radtree and radgrid controls. Do you have any inbuilt virtualization functionality like in silverlight for supporting huge data on the client, or any plans to have it incorporated in future? 
Radoslav
Telerik team
 answered on 30 Nov 2011
1 answer
143 views

Hi,

I have a page with the radgrid ,which is coded as below:

<
telerik:RadGrid ID="rgSchool" ShowGroupPanel="false" ShowStatusBar="true" AllowCustomPaging="true"

            RegisterWithScriptManager="true" runat="server" AutoGenerateColumns="False" AllowSorting="True"

            GridLines="Vertical" OnSortCommand=" rgSchool _SortCommand" AllowMultiRowSelection="False"

            AllowPaging="True" Skin="Vista" OnNeedDataSource=" rgSchool _NeedDataSource"

            OnPageIndexChanged=" rgSchool _PageIndexChanged" OnPageSizeChanged=" rgSchool _PageSizeChanged"

            OnItemDataBound=" rgSchool _ItemDataBound" OnGroupsChanging=" rgSchool _GroupChanging"

            OnColumnHiding=" rgSchool _ColumnHidden">

            <SortingSettings EnableSkinSortStyles="false" />

            <PagerStyle Mode="NextPrevNumericAndAdvanced" AlwaysVisible="true"></PagerStyle>

            <MasterTableView Width="100%" DataKeyNames="SerialNumber, StudId,Status" ClientDataKeyNames="SerialNumber, StudId,Status"

                AllowMultiColumnSorting="false" EnableHeaderContextMenu="true" AutoGenerateColumns="false"

                TableLayout="auto">

                <Columns>

 

                    <telerik:GridBoundColumn DataField="DateJoin" HeaderText="Date Of Joining" SortExpression="DateReceived"

                        Visible="true" DataFormatString="{0:MM/dd/yyyy}" />

                    <telerik:GridBoundColumn DataField="SerialNumber" HeaderText="Serial #" SortExpression="SerialNumber"

                        Visible="true" DataFormatString="{0:N0}" />

                    <telerik:GridBoundColumn DataField=" StudId " HeaderText="Student ID #" SortExpression=" StudId "

                        Visible="true" />

                    <telerik:GridBoundColumn DataField="Status" HeaderText="Status" SortExpression="Status"

                        Visible="true" />

                    </telerik:GridBoundColumn>

                </Columns>

            </MasterTableView>

            <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" EnableRowHoverStyle="true">

                <Scrolling AllowScroll="false" SaveScrollPosition="true" UseStaticHeaders="true" />

                <Resizing AllowColumnResize="true" EnableRealTimeResize="false" ResizeGridOnColumnResize="false"

                    ClipCellContentOnResize="false" AllowResizeToFit="true" />

                <Selecting AllowRowSelect="true" />

                <ClientEvents OnRowDblClick="RowDblClick" OnRowSelected="RowSelected" OnRowContextMenu="onRowContextMenu"

                    OnColumnHidden=" rgSchoolColumnHidden" OnColumnShown=" rgSchoolColumnShown" />

            </ClientSettings>

            <HeaderContextMenu EnableScreenBoundaryDetection="true" EnableAutoScroll="true" />

        </telerik:RadGrid>

So,the users can sort,Hide,Group the columns.The sorting of the column will be done in the SP itself,based on the column(header selected).So,From the SP though get the correctly sorted data(i.e., though the DataSource is updated correctly),the grid is not STILL NOT showing the correctly sorted data.Please find the related server side code below :

protected void rgSchool_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

{

try

{

ViewState["CurrentPageIndex"] = rgSchool.CurrentPageIndex + 1;

 //Getting the sorted,......data through SP.and storing in response object.

  IEnumerable<rgSchoolReadRecord> response = WCFObj.Read(out recordCount, request);

rgSchool.DataSource = null;

rgSchool.DataSource = response;//DataSorce is updating correctly

rgSchool.VirtualItemCount = recordCount;

rgSchool.CurrentPageIndex = request.PageIndex - 1;

WCFObj.Close();

//Set the current paging and sorting in View state

ViewState["CurrentPageIndex"] = request.PageIndex;

ViewState["PageSize"] = request.PageSize;

ViewState["CurrentSort"] = request.OrderBy;

ViewState["SortDescending"] = request.Desc;

ViewState["rgSchoolSearchRequestObjet"] = request;

ViewState["recordCount"] = recordCount;

}}

Antonio Stoilkov
Telerik team
 answered on 30 Nov 2011
1 answer
325 views
More Information:
It is reproducible when run under IIS.  Works fine during development while running under VS2010.  Thanks.


I am getting InsecureExternalStyleSheetException while running Telerik's control in webform:

[InsecureExternalStyleSheetException: The style sheet '/Styles/Site.css' is not located in any of the 'Style Sheet' folders designated in the web.config.] 
Telerik.Web.UI.ExternalStyleSheetUtils.ResolveSecurePath(String styleSheetRelativePath) +386
Telerik.Web.UI.StyleSheetReference.GetScriptEntry() +363
Telerik.Web.UI.RadStyleSheetManager.RegisterValidStyleSheets(IList`1 styleSheets) +84
Telerik.Web.UI.RadStyleSheetManager.Page_PreRenderComplete(Object sender, EventArgs e) +172
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4543


Below is the app setting in my web.xml:
    <appSettings>
        <add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" />
        <add key="Telerik.StyleSheetManager.TelerikCdn" value="Auto" />
        <add key="Telerik.Web.UI.StyleSheetFolders" value="~/Styles/;~" />
        <add key="Telerik.EnabledEmbedSkins" value="false" />
        <add key="Telerik.Skin" value="AuraGlass"/>
    </appSettings>

Simon
Telerik team
 answered on 30 Nov 2011
1 answer
62 views
Hi all,

We have a requirement based on 'network bussiness' where the all registered users structure should be  in Tree View such as i attached below screen shot.
For each Main(parent) user two sub users(child) Left & Right, and for each left user should have again 2 users, right user should have 2 users same left and right, All this i need dynamically.
For Eg: If A user is registered in our site and 'A' user will refer two users like B & C, so that B & C users will be registered under 'A' user.
Hope you understood my scenario and reply me soon, for this type of requirement do we have any controls? How do i proceed ?
Please provide some me some stuff for my practice.

Thanks & Regards
SK.Suhail
Kate
Telerik team
 answered on 30 Nov 2011
3 answers
94 views
Hi,
    I am using rad tool tip manager to enable it in particular rad charts in the page. But it enables for all rad controls other than charts. My requirement is to set it enable only for few chart controls. I added my chart control IDs in the target controls collection of the tool tip manager. Now other controls stopped to response to the tool tip; But in rad charts, the tool tip is not populating correctly and it shows as small circle near the point. Also regular tool tip is displaying with this rad tool tip on mouse over. Is there any solution to get it clear ?
Regards
Shafi
Tsvetie
Telerik team
 answered on 30 Nov 2011
4 answers
71 views
Good morning guys and happy Thanksgiving,
I have two DataGrid on my aspx page and both of them exporting to PDF.First DataGrid working without any problem but the second one header columns not exporting to pdf:

<

 

telerik:RadGrid ID="PrnHistoryGrid" runat="server"

 

 

GridLines="None" AllowPaging="true" AllowSorting="true" OnExcelMLExportRowCreated="PrnHistoryGrid_ExcelMLExportRowCreated" OnExcelMLExportStylesCreated="PrnHistoryGrid_ExcelMLExportStylesCreated" OnItemCreated="PrnHistoryGrid_ItemCreated" OnNeedDataSource="PrnHistoryGrid_NeedDataSource" OnPdfExporting="PrnHistoryGrid_PdfExporting" OnSortCommand="PrnHistoryGrid_SortCommand" >

 

 

<ExportSettings FileName="PrnHistoryData" OpenInNewWindow="true" IgnorePaging="true" ExportOnlyData="true">

 

 

<Excel Format="ExcelML" FileExtension="xls"/>

 

 

<Pdf FontType="Subset" AllowPrinting="true" PaperSize="Letter" />

 

 

</ExportSettings>

 

 

<MasterTableView AutoGenerateColumns="false" >

 

 

 

<RowIndicatorColumn>

 

 

<HeaderStyle Width="70px" />

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn>

 

 

<HeaderStyle Width="70px" />

 

 

</ExpandCollapseColumn>

 

 

 

<Columns>

 

 

<telerik:GridBoundColumn HeaderText="Req No" DataField="TRKNO" UniqueName="TRKNO" ReadOnly="True" SortExpression="TRKNO" HeaderButtonType="TextButton" >

 

 

<HeaderStyle Width="3px" />

 

 

<ItemStyle Width="3px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Job" DataField="JOB" UniqueName="JOB" ReadOnly="True" SortExpression="JOB" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="3px" />

 

 

<ItemStyle Width="3px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Pgm No" DataField="PGMNO" UniqueName="PGMNO" ReadOnly="True" SortExpression="PGMNO" HeaderButtonType="TextButton" >

 

 

<HeaderStyle Width="2px" />

 

 

<ItemStyle Width="2px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Pgm loc" DataField="PGMLOC" UniqueName="PGMLOC" ReadOnly="True" SortExpression="PGMLOC" HeaderButtonType="TextButton" >

 

 

<HeaderStyle Width="5px" />

 

 

<ItemStyle Width="5px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Service StDate" DataField="STDATE" UniqueName="STDATE" DataFormatString="{0:MM/dd/yyyy}" ReadOnly="true" SortExpression="STDATE" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="15px" />

 

 

<ItemStyle Width="15px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Service EndDate" DataField="ENDDATE" UniqueName="ENDDATE" DataFormatString="{0:MM/dd/yyyy}" ReadOnly="true" SortExpression="ENDDATE" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="15px" />

 

 

<ItemStyle Width="15px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Req Hrs" DataField="REQHRS" UniqueName="REQHRS" ReadOnly="true" SortExpression="REQHRS" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="5px" />

 

 

<ItemStyle Width="5px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Paid Hrs" DataField="YTDHRS" UniqueName="YTDHRS" ReadOnly="true" SortExpression="YTDHRS" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="5px" />

 

 

<ItemStyle Width="5px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Paid Mins" DataField="YTDMINS" UniqueName="YTDMINS" ReadOnly="true" SortExpression="YTDMINS" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="5px" />

 

 

<ItemStyle Width="5px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Rec Stat" DataField="STATUS" UniqueName="STATUS" ReadOnly="true" SortExpression="STATUS" HeaderButtonType="TextButton" >

 

 

<HeaderStyle Width="1px" />

 

 

<ItemStyle Width="1px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Req Date" DataField="SENDDATE" UniqueName="SENDDATE" DataFormatString="{0:MM/dd/yyyy}" ReadOnly="true" SortExpression="SENDDATE" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="15px" />

 

 

<ItemStyle Width="15px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Stat of Req" DataField="STATUSF" UniqueName="STATUSF" ReadOnly="true" SortExpression="STATUSF" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="1px" />

 

 

<ItemStyle Width="1px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Approved Date" DataField="APPRDATE" UniqueName="APPRDATE" DataFormatString="{0:MM/dd/yyyy}" ReadOnly="true" SortExpression="APPRDATE" HeaderButtonType="TextButton">

 

 

<HeaderStyle Width="10px" />

 

 

<ItemStyle Width="10px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Approver Id" DataField="APPRNAME" UniqueName="APPRNAME" ReadOnly="true" SortExpression="APPRNAME" HeaderButtonType="TextButton" >

 

 

<HeaderStyle Width="70px" />

 

 

<ItemStyle Width="70px" />

 

 

</telerik:GridBoundColumn>

 

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings EnableRowHoverStyle="True">

 

 

</ClientSettings>

 

 

 

 

</telerik:RadGrid>

 


This is my code:

bool

 

IsExport1 = false;

 

 

protected void btnExporttoPdf1_Click(object sender, EventArgs e)

 

{

 

RadGrid HistoryGrid = (RadGrid)PrnHistoryReport.FindItemByValue("HistoryData").FindControl("PrnHistoryGrid");

 

HistoryGrid.DataSource = Session[

"PrnHistoryRecord"];

 

HistoryGrid.DataBind();

IsExport1 =

true;

 

HistoryGrid.MasterTableView.BorderStyle =

BorderStyle.None;

 

HistoryGrid.MasterTableView.GridLines =

GridLines.Vertical;

 

HistoryGrid.MasterTableView.Columns[0].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[1].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[2].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[3].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[4].HeaderStyle.Width =

Unit.Pixel(55);

 

HistoryGrid.MasterTableView.Columns[5].HeaderStyle.Width =

Unit.Pixel(55);

 

HistoryGrid.MasterTableView.Columns[6].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[7].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[8].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[9].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[10].HeaderStyle.Width =

Unit.Pixel(55);

 

HistoryGrid.MasterTableView.Columns[11].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[12].HeaderStyle.Width =

Unit.Pixel(40);

 

HistoryGrid.MasterTableView.Columns[13].HeaderStyle.Width =

Unit.Pixel(40);

 

 

HistoryGrid.MasterTableView.ExportToPdf();

 

}

Seems like data is exporting but not header columns.

Thanks so much for your help.
Iana Tsolova
Telerik team
 answered on 30 Nov 2011
1 answer
168 views

Our webapplication throws multiple exceptions at every request.

System.Web.HttpException (0x80004005): This is an invalid webresource request.
at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


The application is installed on a Windows 2008 Server with IIS7.

  <system.web>
      <siteMap defaultProvider="InPageSiteMap">
          <providers>
              <clear/>
              <add name="InPageSiteMap" type="Wervis.Business.Services.InPage.InPageStaticSiteMapProvider"/>
          </providers>
      </siteMap>
  <customErrors mode="Off" defaultRedirect="~/Error">
    <error statusCode="404" redirect="~/NotFound"/>
    <error statusCode="500" redirect="~/Error"/>
  </customErrors>
      <compilation debug="true" targetFramework="4.0">
          <assemblies>
              <add assembly="Telerik.Web.UI"/>
              <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
              <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
              <add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
              <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
              <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>
      </compilation>
      <authorization>
          <allow users="*"/>
      </authorization>
 
      <pages maintainScrollPositionOnPostBack="true">
          <controls>
              <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
              <add tagPrefix="Wervis" namespace="Wervis.InPage.Web.Controls" assembly="Wervis.InPage.Web.Controls"/>
              <add tagPrefix="EventOn" namespace="EventOn.Controls.Event" assembly="EventOn.Controls.Event"/>
          </controls>
      </pages>
  <!-- Start offline, used by IIS6 --><!--
      <httpHandlers>
          <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="true"/>
          <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
          <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
      </httpHandlers>
      <httpModules>
          <add name="Wervis.HttpModule.InPage" type="Wervis.HttpModule.InPage.Rewriter,Wervis.HttpModule.InPage"/>
          <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
      </httpModules>
  --><!-- End offline, used by IIS6 -->
   
      <webServices >
          <protocols >
              <add name="HttpGet" />
          </protocols >
      </webServices>
      <httpRuntime useFullyQualifiedRedirectUrl="false" maxRequestLength="40960" executionTimeout="45" />
  </system.web>
 
<!-- Used by IIS7 -->
  <system.webServer>
      <validation validateIntegratedModeConfiguration="true"/>
      <modules>
          <remove name="RadUploadModule"/>
    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/>
          <remove name="RadCompression"/>
    <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode"/>
    <add name="Wervis.HttpModule.InPage" type="Wervis.HttpModule.InPage.Rewriter,Wervis.HttpModule.InPage" preCondition="integratedMode"/>       
      </modules>
      <handlers>
    <remove name="ScriptResource"/>
    <add name="ScriptResource" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode"  />
    <remove name="*_AppService.axd_"/>
    <add name="*_AppService.axd_*" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0"/>
    <remove name="*.asmx_*"/>
    <add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0"/>
 
    <remove name="ChartImage_axd"/>  
          <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/>
    <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
    <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/>
    <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
    <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/>
    <remove name="Telerik_RadUploadProgressHandler_ashx"/>
    <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/>
    <remove name="Telerik_Web_UI_WebResource_axd"/>
    <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>
      </handlers>
  </system.webServer>


We think the exceptions are related to the Telerik embedded resources. Can anyone help us to solve this problem?


Shinu
Top achievements
Rank 2
 answered on 30 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?