Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
113 views
Why is Q3 not backwards compatible? What do I need to add now to a grid that is being created in code behind to get back my hierarchy expand and collapse. This is really not good. I am almost ready to tell the client to dump these controls and go with something different.
Martin
Telerik team
 answered on 18 Nov 2011
7 answers
98 views
I am using double-click to open an AdvancedInsert or AdvancedEdit form but that functionality does not work with iPhone/iPad. Is there a way to Press-and-Hold the time-slot and open any of the advanced forms? Thanks
Ivan Zhekov
Telerik team
 answered on 18 Nov 2011
3 answers
440 views
Hi,

I am using a dynamically created radgrid with custom filtering and sorting. After the grid displays the results, I go to 2nd page and select a row and it opens a popup window. I close that window and click on the previous page pager button and it give me the below error.
"Event validation is enabled using <pages enableEventValidation="trur"/> in configuration or %@Page EnableEventValidation="true"%
I tried setting EnableEventValidation="true"% but it is not pagging correctly. I checked the forms and found similar problem but it did not solve my problem. Any help will be appreciated.

Thanks,
Raji
Andrey
Telerik team
 answered on 18 Nov 2011
3 answers
70 views
Hello,

I was wondering if anyone is experiencing this issue? The RadButtons on my application are broken when I use IE.  Attached is a sample of how it looks like on IE.  On other browsers FF and Chrome, they look fine.

The only CSS stylings that affects the DIV that the buttons are on is a top-margin and a left-margin styling.
Slav
Telerik team
 answered on 18 Nov 2011
1 answer
73 views
Hi,

Sometimes i am facing this issue with rad upload control, when some postback already happened on the page.

The error says:

Radupload ajax callback error. Source url returned error: 500
Internal Server Error
../Telerik.RadUploadProgressHandler.ashx?RadUrid=addfddd-wefd-dffd-ddffddfdffs

Did you register the RadUploadProgressHandler in web.config?

I have registered the module and handler as below in web.config:

<modules runAllManagedModulesForAllRequests="true">
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler"/>
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv4.0"/>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
      
    </handlers>


Shinu
Top achievements
Rank 2
 answered on 18 Nov 2011
1 answer
43 views

I'm using the RadMenu with a custom skin that was created from the Telerik Visual Style Builder. All looks great except when I view the site in IE8 Compatibility mode (IE7). Do I need to do anything to have the menu work correctly in IE7?

<telerik:RadMenu ID="mnuRoot" runat="server" Skin="CustomMenu" EnableEmbeddedSkins="false" Width="100%">
</telerik:RadMenu>

Uses Custom Skin = "/Skins/CustomMenu/Menu.CustomMenu.css"

I would greatly appreciate your suggestions.

Thanks,
Nathan


Kate
Telerik team
 answered on 18 Nov 2011
1 answer
61 views
Hi
i saw your example related with Get data and total items count in a single request. but in my case i m not using any services. I am using .net 4.0 i have more than 50k data, I am accessing data using my dynamic stored procedure.i want to bind data in my grid. How can i do this.i m requesting u attached solution so i can use in my application.

Mira
Telerik team
 answered on 18 Nov 2011
1 answer
81 views
Does RadUpload not work in a user control (.ascx)?   CaseFile.UploadedFiles.Count is always 0.  Any help would be greatly appreciated.  KR

Code Behind
protected void AttachmentCase_AddClick(object sender, EventArgs e)
{
    CaseAgentActions.CaseOpenFile attachment = new CaseAgentActions.CaseOpenFile();
 
    // Attach the file referenced to upload.
    if (CaseFile.UploadedFiles.Count > 0)
    {
        foreach (UploadedFile item in CaseFile.UploadedFiles)
        {
            attachment.Filename = item.FileName;
            byte[] attachmentBytes = new byte[item.InputStream.Length];
            item.InputStream.Read(attachmentBytes, 0, attachmentBytes.Length);
            attachment.FileData = attachmentBytes;
            page.oCaseOpen.Files.Add(attachment);
        }
    }
 
    AttachmentsGrid.Rebind();
}

.ASCX

<telerik:RadUpload ID="CaseFile" runat="server" InitialFileInputsCount="3" MaxFileInputsCount="10" Width="400px"></telerik:RadUpload>
<asp:Button ID="AddFileButton" runat="server" Text="Add File" OnClick="AttachmentCase_AddClick"
Width="120px" CssClass="Case_Search_Button" Font-Bold="true" Font-Size="10px"
Height="20px" CausesValidation="false" />

Bozhidar
Telerik team
 answered on 18 Nov 2011
4 answers
134 views
Hi...
I created a user control which has a rad ComboBox and RadCallBack.
ComboBox displays customer name and when i select a customer, with the help of RadCallBack, execution transfers to code behind and customer details are extracted from DB.
then those details are filled in combo boxes.

when I have 1 instance of this user control on a page, it works fine, but when I add another instance, I can see customer names in the dropdown, but those textboxes are not filled. I can debug and see that those code behind lines are executed but i do not see any results in my text boxes.

Any help would be appreciated.

here is the code:



// this is java script code called when a customer is selected in rad combobox

function CustomerSelectedChanged() {

                var comboBox = <%= cmbLookUp.ClientID %>;

               

                var CustomerCode = comboBox.GetValue();

                //document.getElementById("<%=txtFrom.ClientID %>").value = 'manik';

                  <%=rdCallBackCustDetails.ClientID%>.MakeCallback('GetCustomerDetails',CustomerCode);

                 

 

            }

' this is code behind

 

Private Sub RadCallback1_Callback(ByVal sender As System.Object, ByVal args As Telerik.WebControls.CallbackEventArgs) Handles rdCallBackCustDetails.Callback

 

        If args.CallbackEvent = "GetCustomerDetails" And args.Args <> "" Then

 

            Try

 

 

                MakeControlsUpdatable()

 

               

                Dim CustomerData As New FreightComDN.cls_Customer(ConfigurationManager.AppSettings("FreightConStr"))

                Dim resultcol As Collection

                Dim CustomerCode As String

 

                CustomerCode = args.Args

 

                resultcol = CustomerData.getASpecificCustomer(args.Args)

 

                SetText(Me.txtFrom, resultcol.Item(1).customerName)

 

                CustomerData = Nothing

            Catch ex As Exception

 

            End Try

 

       

            End If

 

 

        End If

    End Sub

 

Private Function MakeControlsUpdatable()

        Try

            ' set all the controls to be updated

            rdCallBackCustDetails.ControlsToUpdate.Add(Me.txtFrom)

 

        Catch ex As Exception

 

        End Try

    End Function

 

Private Sub SetText(ByVal txtBox As TextBox, ByVal txtValue As Object)

        Try

            txtBox.Text = txtValue

        Catch ex As Exception

        End Try

 

    End Sub

Ivana
Telerik team
 answered on 18 Nov 2011
7 answers
220 views

Hello,

I have an ASP.NET page that contains a standard asp:Label at the top of the page in order to display a page title. Below the page title, there are 2 RadGrid controls. The first grid displays parent records that are stored in a database. When an item is selected in the first grid, the second grid is then populated with child records (stored in the same database). This all works fine.

Because there is a 2 - 3 second wait after selecting an item in the first grid and the time it takes to populate the second grid, I have added a RadAjaxLoadingPanel to my ASP.NET page. This is the first time that I have used a LoadingPanel, so I have followed a Telerik demo as a guide for configuring the LoadingPanel.

When I now open my ASP.NET page and click on an item in the first grid, the LoadingPanel appears for about 3 seconds, and then everything on the page disappears, except for the title at the top of the page. Both grids are gone; neither of them are visible on the page. What would cause this to happen? I have double and triple-checked the settings of my LoadingPanel, comparing them to the settings shown in the Telerik demo (http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/loadingimages/defaultcs.aspx). I have also googled this issue for help, but I cannot determine what I am missing.

Has anyone seen a problem like this and how do I resolve the problem?

Thank you,
Steven

Maria Ilieva
Telerik team
 answered on 18 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?