Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
166 views
Hi, heavy problem, crash web site.
This is the event log.


Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 6/4/2009 3:21:46 PM

Event time (UTC): 6/4/2009 1:21:46 PM

Event ID: fc87082f11574df5a2cf36da02faf20b

Event sequence: 2794

Event occurrence: 6

Event detail code: 0

 

Application information:

    Application domain: /LM/W3SVC/1376749270/Root-1-128885939047597897

    Trust level: Full

    Application Virtual Path: /

    Application Path: c:\mercurioweb\

    Machine name: WEB-01

 

Process information:

    Process ID: 2884

    Process name: w3wp.exe

    Account name: NT AUTHORITY\NETWORK SERVICE

 

Exception information:

    Exception type: NotSupportedException

    Exception message: Assembly "Telerik.Web.UI, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" does not contain a script with hash code "f7645509%mg alt=".

 

Request information:

    Request URL: http://www.ticinonews.ch/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_menu1_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=6/4/2009 3:21:46 PMb6/4/2009 3:21:46 PMbSystem.Web.ExtensionsAn unhandled exception has occurred.c+Version6/4/2009 3:21:46 PMd3.5.0.0An unhandled exception has occurred.c+Culture6/4/2009 3:21:46 PMdneutralAn unhandled exception has occurred.c+PublicKeyToken6/4/2009 3:21:46 PMd31bf3856ad364e356/4/2009 3:21:46 PMait-CH6/4/2009 3:21:46 PMa28b57ee1-05a9-440a-a3f2-cf44d612c2be6/4/2009 3:21:46 PMaea597d4b6/4/2009 3:21:46 PMab25378d26/4/2009 3:21:46 PMbTelerik.Web.UIAn unhandled exception has occurred.c+Version6/4/2009 3:21:46 PMd2009.1.402.35An unhandled exception has occurred.c+Culture6/4/2009 3:21:46 PMdneutralAn unhandled exception has occurred.c+PublicKeyToken6/4/2009 3:21:46 PMd121fae78165ba3d46/4/2009 3:21:46 PMait-CH6/4/2009 3:21:46 PMae2aefbad-6eca-4fec-a07c-998a5a2d33c06/4/2009 3:21:46 PMa16e4e7cd6/4/2009 3:21:46 PMaf7645509%mghttp://www.ticinonews.ch/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_menu1_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=6/4/2009 3:21:46 PMb6/4/2009 3:21:46 PMbSystem.Web.ExtensionsAn unhandled exception has occurred.c+Version6/4/2009 3:21:46 PMd3.5.0.0An unhandled exception has occurred.c+Culture6/4/2009 3:21:46 PMdneutralAn unhandled exception has occurred.c+PublicKeyToken6/4/2009 3:21:46 PMd31bf3856ad364e356/4/2009 3:21:46 PMait-CH6/4/2009 3:21:46 PMa28b57ee1-05a9-440a-a3f2-cf44d612c2be6/4/2009 3:21:46 PMaea597d4b6/4/2009 3:21:46 PMab25378d26/4/2009 3:21:46 PMbTelerik.Web.UIAn unhandled exception has occurred.c+Version6/4/2009 3:21:46 PMd2009.1.402.35An unhandled exception has occurred.c+Culture6/4/2009 3:21:46 PMdneutralAn unhandled exception has occurred.c+PublicKeyToken6/4/2009 3:21:46 PMd121fae78165ba3d46/4/2009 3:21:46 PMait-CH6/4/2009 3:21:46 PMae2aefbad-6eca-4fec-a07c-998a5a2d33c06/4/2009 3:21:46 PMa16e4e7cd6/4/2009 3:21:46 PMaf7645509%mghttp://www.ticinonews.ch/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_menu1_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=6/4/2009 3:21:46 PMb6/4/2009 3:21:46 PMbSystem.Web.ExtensionsAn unhandled exception has occurred.c+Version6/4/2009 3:21:46 PMd3.5.0.0An unhandled exception has occurred.c+Culture6/4/2009 3:21:46 PMdneutralAn unhandled exception has occurred.c+PublicKeyToken6/4/2009 3:21:46 PMd31bf3856ad364e356/4/2009 3:21:46 PMait-CH6/4/2009 3:21:46 PMa28b57ee1-05a9-440a-a3f2-cf44d612c2be6/4/2009 3:21:46 PMaea597d4b6/4/2009 3:21:46 PMab25378d26/4/2009 3:21:46 PMbTelerik.Web.UIAn unhandled exception has occurred.c+Version6/4/2009 3:21:46 PMd2009.1.402.35An unhandled exception has occurred.c+Culture6/4/2009 3:21:46 PMdneutralAn unhandled exception has occurred.c+PublicKeyToken6/4/2009 3:21:46 PMd121fae78165ba3d46/4/2009 3:21:46 PMait-CH6/4/2009 3:21:46 PMae2aefbad-6eca-4fec-a07c-998a5a2d33c06/4/2009 3:21:46 PMa16e4e7cd6/4/2009 3:21:46 PMaf7645509%mghttp://www.ticinonews.ch/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_menu1_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=6/4/2009 3:21:46 PMb6/4/2009 3:21:46 PMbSystem.Web.ExtensionsAn unhandled exception has occurred.c+Version6/4/2009 3:21:46 PMd3.5.0.0An unhandled exception has occurred.c+Culture6/4/2009 3:21:46 PMdneutralAn unhandled exception has occurred.c+PublicKeyToken6/4/2009 3:21:46 PMd31bf3856ad364e356/4/2009 3:21:46 PMait-CH%3a28b57ee1-05a9-440a-a3f2-cf44d612c2be%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.402.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3ait-CH%3ae2aefbad-6eca-4fec-a07c-998a5a2d33c0%3a16e4e7cd%3af7645509%mg%20alt=alt=alt=alt=

    Request path: %21

    User host address: %22

    User: %23

    Is authenticated: %24

    Authentication Type: %25

    Thread account name: %26

 

Thread information:

    Thread ID: %27

    Thread account name: %28

    Is impersonating: %29

    Stack trace: %30

 

Custom event details:

%14

Chris Winters
Top achievements
Rank 1
 answered on 20 Nov 2009
2 answers
114 views
I have a dropdown arrow button with the width 23 but It's not showing the entire image.

This is my css:
.RadComboBox td.rcbArrowCell
{
min-width: 23px;
padding: 0;
border: 0;
}

.RadComboBox td.rcbArrowCellLeft,
.RadComboBox td.rcbArrowCellRight
{
background:url('ComboBox/rcbArrowCell.gif') 0 0 no-repeat;
min-width: 23px;
}

They use to work until I upgraded our telerik controls to Q3 2009 version.
JayCats
Top achievements
Rank 1
 answered on 20 Nov 2009
2 answers
293 views

Hi together,
we have the following scenario in our Web Application.

Masterpage with 4 ContentPlaceholders, every page uses the masterpage.

We would like to update a label that is placed outside from the RadAjaxPanel.

Please look at the following code, in this case we click on "cmdTabOne" the
"cmdTabOne_Click" event fires fine and the "lblHeadline" label will be updated correct.
The Label "lblContextInfo" which is outside from the RadAjaxPanel will not updated.

<asp:Content ID="Content0" ContentPlaceHolderID="head" Runat="Server">  
    ...  
</asp:Content> 
<asp:Content ID="Content1" ContentPlaceHolderID="HeaderPlaceHolder" Runat="Server">  
    ...  
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="leftPanelPanel" Runat="Server">  
      
    <div> 
        <asp:Label ID="lblContextInfo" runat="server" Text=""></asp:Label> 
    </div> 
      
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="leftPanelContent" Runat="Server">  
          
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">  
          
        // Main Content  
        <div> 
            <asp:Label ID="lblHeadline" runat="server" Text=""></asp:Label> 
        </div> 
          
        <div> 
            <asp:LinkButton ID="cmdTabOne" runat="server" CssClass="Tab_active" onclick="cmdTabOne_Click">Tab One</asp:LinkButton> 
            <asp:LinkButton ID="cmdTabTwo" runat="server" CssClass="Tab_inactive" onclick="="cmdTabTwo_Click">Tab Two</asp:LinkButton> 
        </div> 
          
          
        </telerik:RadAjaxPanel> 
      
</asp:Content> 

  protected void cmdTabOne_Click(object sender, EventArgs e)     
  {     
     lblHeadline.Text = "Headline for Tab One";     
     lblContextInfo.Text = "Contextinfo for Tab One";     
  }     
       
  protected void cmdTabTwo_Click(object sender, EventArgs e)     
  {     
     lblHeadline.Text = "Headline for Tab Two";     
     lblContextInfo.Text = "Contextinfo for Tab Two";     
  }   

Any Ideas?

Thank you for your help.

Best regards

Günter

cuepack
Top achievements
Rank 1
 answered on 20 Nov 2009
1 answer
265 views
Hello,

Im in a situation where I need to upload an Outlook Exchange shortcut file (.xnk) via the RadEditor. The Editor inserts the link, but when I click the link I get a page-not-found.
I tried uploading a normal Windows shortcut-file (.lnk) and I realized that the Editor actually uploaded the exe which the shortcut was pointing to, not the shortcut-file itself. This means that when the link is clicked, the exe is downloaded, not the shortcut. I get the exact same page-not-found if I manually copy the Windows shortcut file into the editors upload folder and then create a link to it via the editor. 

However, when I upload the xnk-file, the shortcut itself is uploaded, and i guess that is the problem.

Does anyone have any ideas of how to fix this?

/Giereck
Rumen
Telerik team
 answered on 20 Nov 2009
3 answers
114 views
I have 2 image libraries that I would like to be able to insert images into the Editor from.

I have written 2 custom FileBrowserContentProviders.

I can get the existing ImageManager toolbar button to work with the  custom ContentProviders.

I would like to add a 2nd toolbar button to access the other image library. I would like it to use the same FileBrowser dialog and return the same img information (alt text, longdesc, etc).

I have looked at the examples for adding custom dialogs, but would like to use the existing FileBrowser dialogs.

I have also looked at the RadDialogOpener, and was able to open the FileBrowser dialog from a button.

Any help is appreciated. Thanks.
Eric
Eric Fernando
Top achievements
Rank 1
 answered on 20 Nov 2009
1 answer
100 views

Hello All,

I want to bind the data dynamically to the RadGrid control [Columns would be known at the run time only] .

The Data Source for the RadGridView is a Generic List Collection of “OperatingCondition”.

                                    public class OperatingCondition

    {

        public OperatingCondition(int stage)

        {

            this.Actual  = new string[stage];

            this.Theoritical = new string[stage];

        } 

        public string OpCondtition  { get; set;} 

        public string[] Actual { get ;  set; } 

        public string[] Theoritical{ get;  set;}          

    } 

Actual and Theoritical coulmns has to created based on the number of stages. Eg: If the stage is 3, then grid should show the 3 Actual and Theoritical values as columns in the grid and each Actual and Theoritical column headers should be grouped to show the stage number.
Please suggest how to bind this datasource to the grid.

Iana Tsolova
Telerik team
 answered on 20 Nov 2009
2 answers
197 views
I need a good workaround for an Issue I found with the radgrid.

When I press enter while focus is anywhere on my page (in another control or wherever) focus is automatically transferred to the insertCommand button in the grid header which causes the popup editor to show up.

Here is how I declare the grid in markup:

<asp:UpdatePanel ID="upnlGrid4" runat="server" > 
    <ContentTemplate> 
        <telerik:RadGrid ID="gvFirmInfo" runat="server" Width="550px"> 
            <MasterTableView EditMode="PopUp" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Add Location"  
                         ShowHeadersWhenNoRecords="true" ShowHeader="false"  
                         NoMasterRecordsText="information is not available. <br/> Please click 'Add Location' to add the contact information for each location" 
                         AlternatingItemStyle-BackColor="White" AlternatingItemStyle-BorderStyle="Solid"  
                         AlternatingItemStyle-BorderWidth="1px" AlternatingItemStyle-BorderColor="#C9C4D1" 
                         ItemStyle-BackColor="#E0E0E0" ItemStyle-BorderColor="#FFFFFF" ItemStyle-BorderStyle="Solid" 
                         ItemStyle-BorderWidth="0px" BorderColor="#C9C4D1" BorderWidth="1px" BorderStyle="Solid" GridLines="None"> 
                           
                <EditFormSettings InsertCaption="Add Location" CaptionDataField="" PopUpSettings-Modal="true"/> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="rowId" HeaderText="Row ID" UniqueName="rowId" 
                        Visible="False" EditFormColumnIndex="-1"> 
                    </telerik:GridBoundColumn> 
                                                                                                                                        
                                        
                    <telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn"> 
                        <ItemTemplate> 
                            <asp:CheckBox id="ChkDelete" AutoPostBack="false" runat="server"></asp:CheckBox> 
                            <asp:Label runat="server" Text="Delete Location"></asp:Label> 
                        </ItemTemplate> 
                    </telerik:GridTemplateColumn> 
                     
                    <telerik:GridButtonColumn CommandName="Edit" Text="Edit" UniqueName="columnEdit" ItemStyle-Width="35px"> 
                    </telerik:GridButtonColumn>                    
                </Columns>                      
                                                                                                                                                          
            </MasterTableView> 
        </telerik:RadGrid> 
    </ContentTemplate>  
</asp:UpdatePanel> 


My grids are dynamic and are built using advanced binding like so:

Protected Sub gvFirmInfo_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles gvFirmInfo.NeedDataSource 
        Dim sqlString As String = "" 
        Dim sqlparam(2) As SqlParameter 
        Dim ds As New DataSet 
        Dim dr As SqlDataReader = Nothing 
 
        Try 
            Conn = New SqlConnection(ConfigurationManager.ConnectionStrings("****").ConnectionString) 
            Conn.Open() 
 
            SetParam(sqlparam(0), "@recId", Data.SqlDbType.Int, 4, m_rec_id) 
            SetParam(sqlparam(1), "@recType", Data.SqlDbType.Char, 2, m_rec_type) 
 
            sqlString = "select...***" 
 
            ds = SqlHelper.ExecuteDataset(Conn, Data.CommandType.Text, sqlString, sqlparam) 
            gvFirmInfo.DataSource = ds 
 
        Catch ex As Exception 
            '***** 
        End Try 


The problem occurs in IE 8 as well as Firefox 3.015

What do you all recommend for working around this issue?

Cheers!
Drew
Top achievements
Rank 2
 answered on 20 Nov 2009
2 answers
260 views
Hi,
I am using ExportToExcel in RadGrid, inside "ExcelMLExportStylesCreated" , "ExcelMLExportRowCreated" events I change my data format (Font Style, InteriorStyle, ......) but the only thing I could not do is How I can set borders to my cells !!? .. Will you please help me to figure out how.

Thanks
Ban
Mark Galbreath
Top achievements
Rank 2
 answered on 20 Nov 2009
3 answers
160 views
Hi,

I am having issues with paging style.
Here is the code:

<cc1:AdesaGrid ID="grdAnnouncements" runat="server" OnNeedDataSource="grdAnnouncements_NeedDataSource" 
            AllowPaging="True"  PagerStyle-Mode="NextPrevAndNumeric"  PagerStyle-Position="Bottom" ShowFooter="True" AllowMultiRowEdit="True" OnItemDataBound="grdAnnouncements_ItemDataBound" 
            OnPreRender="grdAnnouncements_PreRender" OnItemCommand="grdAnnouncements_ItemCommand" 
            OnItemCreated="grdAnnouncements_ItemCreated" AutoGenerateColumns="False" CssClass="headercenter" 
            EnableEmbeddedSkins="False" GridLines="None" Skin="TelerikDataGridB" Width="920px"> 
            <HeaderContextMenu EnableEmbeddedSkins="False"> 
            </HeaderContextMenu> 
            <MasterTableView DataKeyNames="MVDAID" EditMode="InPlace" CommandItemDisplay="Bottom"> 
                <NoRecordsTemplate> 
                    <div> 
                        There are no records to display</div> 
                </NoRecordsTemplate> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="MVDAID" HeaderText="MVDAID" ReadOnly="True" UniqueName="MVDAID" 
                        Visible="False"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Announcement" UniqueName="Name" ReadOnly="true"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Amount" HeaderText="Amount" UniqueName="Amount" 
                        ReadOnly="true"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Date" DataFormatString="{0:d}" DataType="System.DateTime" HeaderText="Date" UniqueName="Date" ReadOnly="true"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Comment" HeaderText="Comment" UniqueName="Comment" 
                        ReadOnly="true"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="RepairDescription" DataType="System.String" HeaderText="Repair Description" 
                        UniqueName="RepairDescription" ReadOnly="true"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Province" DataType="System.String" HeaderText="Province" UniqueName="Province" 
                        ReadOnly="true"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="LastKnownDate" DataFormatString="{0:d}" DataType="System.DateTime" HeaderText="TKU Date" UniqueName="LastKnownDate" 
                        ReadOnly="true"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="LastKnownAmount" HeaderText="TKU" 
                        UniqueName="LastKnownAmount" ReadOnly="true"> 
                    </telerik:GridBoundColumn>                    
                    <telerik:GridBoundColumn DataField="Source" HeaderText="Source" ReadOnly="true" UniqueName="Source"> 
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="User" HeaderText="User" ReadOnly="True" UniqueName="User"> 
                    </telerik:GridBoundColumn> 
                     <telerik:GridCheckBoxColumn DataField="Active" DataType="System.Boolean" HeaderText="Active" 
                        UniqueName="Active"> 
                    </telerik:GridCheckBoxColumn> 
                    <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" /> 
                </Columns>                 
                <CommandItemTemplate> 
                    <asp:Button runat="server" ID="Save" Text="Save" CommandName="Save"  CausesValidation="false" /></CommandItemTemplate> 
            </MasterTableView> 
        </cc1:AdesaGrid> 

Please see the attached snapshot of the page.

Any help is appreciated.

Thanks


Pavlina
Telerik team
 answered on 20 Nov 2009
1 answer
105 views
I use custom stylesheets for most of the Telerik AJAX controls I use in a Web application I'm working on for a client, including a stylesheet for the Telerik grid control. I recently decided I needed a second stylesheet with some changes to reduce padding in the grid and some border adjustments and I discovered that creating the second custom stylesheet actually changed the appearance of other unrelated Telerik controls - specifically, I noticed that on a different page that contains ListBox controls with transfer behavior, the ListBoxes lost their borders, transfer buttons, and drag-n-drop stylings. To prove that it was indeed the new stylesheet that was causing the issue, I simply deleted the style sheet and the ListBoxes rendered normally. I also tried putting the stylesheet back into my project but commenting out all of it's style definitions and it still seemed to cause a conflict with the ListBox styles.

Is this a known issue? Shouldn't I be able to have multiple stylesheets for individual Telerik controls?
Dimo
Telerik team
 answered on 20 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?