Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
87 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
128 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
56 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
87 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
98 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
157 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
262 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
5 answers
89 views
How do I remove the "today" link in monthview?

Also if anyone knows how to make month display full month (November instead of Nov) that would be cool too.

Thanks,
Dan
Peter
Telerik team
 answered on 18 Nov 2011
8 answers
233 views
We are using a masterpage which has a RadMultiView, and then in each RadPageView, we load a user control (.ascx), which is all controlled by a RadTabStrip (probably doesn't matter). Now, assuming a scenario where each user control would only speak with itself, what would be the best solution, having one master RadAjaxManager in the master page, or having separate RadAjaxManagers in all user controls? And why?

In alternative 1, we would really wrap in the entire RadMultiView in an updatepanel, in alternative 2, only the controls in each user control.
Alternative 1 would of course make the whole user control update, alternative 2 would allow more detailed control, but unless you have complex pages with lots of controls (perhaps just a RadGrid in each with a filteroption), the difference all togheter might not be all that large after all?

What would be the advantages/drawbacks of each solution?

You could make the question more complex by introducing RadAjaxManagerProxy, but in alternative 1, I guess that wouldn't really make that much of a difference would it, since the entire user control would update anyway? We have experimented a bit with this alternative 3 with a proxy and a radajaxmanager in the master, but then we get a strange problem - when we have a buttonClick_event call myRadGrid.Rebind() after modifying data, we can see that the DataBinding() event of the RadGrid is triggered, the Select is executed in the database....but the contents of the RadGrid isn't updated. Strange.

Maria Ilieva
Telerik team
 answered on 18 Nov 2011
9 answers
133 views
Hi,
We have a requirement where once the user hides or unhides the column OR resize  the column width, these settings must be remembered for that user.
Kindly let us know if this can this achieved.

Thanks,
Sudha.
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?