Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
252 views
It seems that the hidden <iframe>s that Telerik's drop-down controls use (RadToolbar, RadMenu, RadContextMenu) causes performance/debugging issues when using IE and Visual Studio. We've seen this with multiple versions of IE and Visual Studio '10 and '12. We are using the latest Q2 '12 release of Telerik.

What seems to be happened is that for each <iframe>, used, say for each menu item that contains other items, IE will navigate to its internal "Cannot display web page" page:

res://ieframe.dll/dnserrordiagoff.htm


This page will also cause the load of two internal scripts (errorPageStrings.js and httpErrorPageScripts.js). 

Visual Studio's Script Documents list, that exists during debugging sessions, shows this. See the first screen capture, which shows a simple test site with a single page with a single RadMenu control that has 4 drop-downs.

Aside from the theoretical performance issue of the browser constantly trying to navigate and then displaying these internal files, the real issue for us is that on our screens, we have a lot of these controls. As we debug, going from page to page sometimes takes several seconds as these spurious internal page/scripts are loaded/unloaded in the Script Documents window in Visual Studio. See the second screen capture that shows this.

So - is there anything that can be done to prevent IE from trying to navigate for these hidden <iframe>s, and thus preventing the navigate to 

res://ieframe.dll/dnserrordiagoff.htm

in the first place?

Thanks,

- Mike
Kate
Telerik team
 answered on 15 Apr 2013
4 answers
1,000 views
hello dear,
how can i Hide a colum with all data in several rows.
Below syntax hide header text only and don't hide data in row that related to hidden column.
 
WBSRadGrid.MasterTableView.GetColumn("ActualEndDate").Visible =false; 

best regards,
zohreh
Shinu
Top achievements
Rank 2
 answered on 15 Apr 2013
10 answers
1.0K+ views
I Want to set the first row selected of radgrid on Page Load,Sorting etc....Except the Edit Command...

Bcoz when i direclty cick on edit button in radgrid without selecting the row it shows radgrid.selectedvalue is NULL.....

Please help me on this..
Eyup
Telerik team
 answered on 15 Apr 2013
4 answers
151 views
I want to reduce the width of the tooltip box border and also tweak it so that the text is properly centered - in all the samples and in my code the text seems to have some left padding but no right padding - and the outer box is horribly fat.

Any way yet to adjust this or is this another Qx development?

Anything that can be done with a jquery fudge?

I'm really trying to get this working so I can get rid of my old DevExpress charts!

Regards

Jon
Jon
Top achievements
Rank 1
 answered on 15 Apr 2013
4 answers
210 views
We designed our Login page and used radCaptcha along with Generate New Image (EnableRefreshImage Option) and Vision Impaired (CaptchaImage.EnableCaptchaAudio Option).  These option links are working fine in IE and FireFox but not in Chrome.  In Chrome these are rendered like static text.  I am attaching image of Login page.  Following is the code I am using in Login page. 

This is the ASPX code
<telerik:RadCaptcha ID="CaptchaCode" runat="server" ValidationGroup="SubmitGroup"
      CaptchaTextBoxLabel=" Type the code from the image"  CaptchaImage-TextChars="Numbers" BorderColor="Black"
      BorderWidth="0" ErrorMessage="" CaptchaImage-Height="40" CaptchaImage-Width="155"
      width="150"  CssClass="font_captcha" ForeColor="Black"  Display ="Dynamic" TabIndex =3 >
</telerik:RadCaptcha>                     
T
his is the Server side code.
Private Sub Pages_Login_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache)
        AddHandler Me.loginButton.Click, New System.EventHandler(AddressOf loginButton_Click)
 
        If Not Page.IsPostBack Then
            CaptchaCode.EnableRefreshImage = True
            CaptchaCode.CaptchaLinkButtonText = "Generate New Image"
            CaptchaCode.CaptchaImage.EnableCaptchaAudio = True
            CaptchaCode.CaptchaAudioLinkButtonText = "Vision Impaired"
            CaptchaCode.CaptchaImage.UseAudioFiles = False
            CaptchaCode.CaptchaImage.AudioFilesPath = HttpContext.Current.Server.MapPath("~/App_Data/RadCaptcha")
 
            Page.DataBind()
        End If
        txtUserID.Focus()
    End Sub

This is CSS Code.
.font_captcha
{
    text-align:left;
    color: white;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: normal;
}
.rcRefreshImage
{
    margin-left: 165px;
    margin-top :-40px;
    font-size: 10px;
    float: left;
    color: White;
    display: block;
    line-height:1.5em;
    background-image: url('../Images/Captcha_reload.png');
    background-repeat: no-repeat;
    height: 20px;
    padding-left: 30px;
    margin-top:-40px;
    width: 120px;
            
}  
.rcCaptchaAudioLink
{
    margin-left: 165px;
    margin-top :-17px;
    font-size: 10px;
    float: left;
    color: White;
    display: block;
    line-height: 1.5em;
    background-image: url('../Images/Captcha_audio.png');
    background-repeat: no-repeat;
    height: 19px;
    padding-left: 30px;
    margin-top:-20px;
    width: 120px;
}
If this is not clear, I can attach a sample project.
Please let me know whether I am doing any thing wrong or really radCaptcha is having compatibility issues with Chrome browser. 
Bhanu Prakash
Top achievements
Rank 1
 answered on 15 Apr 2013
2 answers
155 views
Dear support , 
I have grid view with , and i need to access the upload file control in insertCommand and editCommand event. 
i got cant convert System.Web.UI to Telerik.Web.UI.UploadControl when i try to get the control
here is my grid and the event 

server Code.. 

protected void MasterRadGrid_InsertCommand(object source, GridCommandEventArgs e)
       {
           try
           {
               Telerik.Web.UI.UploadedFile attachment = e.Item.FindControl("txtUpdateTaskCompletion2") as Telerik.Web.UI.UploadedFile;

.aspx code
<telerik:RadGrid CssClass="GridAlign" ID="MasterRadGrid" runat="server" ShowStatusBar="true"
                        AutoGenerateColumns="False" PageSize="3" AllowSorting="True" AllowMultiRowSelection="False"
                        AllowPaging="True" GridLines="None" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
                        AllowAutomaticUpdates="True" OnInsertCommand="MasterRadGrid_InsertCommand" OnDetailTableDataBind="MasterRadGrid_DetailTableDataBind"
                        OnNeedDataSource="MasterRadGrid_NeedDataSource" OnUpdateCommand="MasterRadGrid_UpdateCommand"
                        Skin="Metro" OnDeleteCommand="MasterRadGrid_DeleteCommand">
                        <PagerStyle Mode="NumericPages"></PagerStyle>
                        <MasterTableView DataKeyNames="CommentID" AllowMultiColumnSorting="True" Width="100%"
                            CommandItemDisplay="Top" Name="MainComment">
                            <CommandItemStyle CssClass="GridAlign" />
                            <NoRecordsTemplate>
                                No Records to Display
                            </NoRecordsTemplate>
                            <HeaderStyle CssClass="InnerHeaderStyle" />
 
<EditFormSettings EditFormType="Template">
                                <FormTemplate>
                                    <div id="content">
                                        <table>
                                            
                                            <tr>
                                                <td style="width: 20%; padding-right: 10px">
                                                    <asp:Label ID="lblAttachments" runat="server" Text="<%$Resources:TMS.UI,TM_AddNewTask_lblTaskAttachmentTitle%>" />
                                                </td>
                                                <td colspan="3" style="width: 65%">
                                                    <telerik:RadUpload ControlObjectsVisibility="RemoveButtons,AddButton" ID="rpTaskAttachments" runat="server"
                                                        Localization-Add="<%$Resources:TMS.UI,TM_AddNewTask_btnAddAttachment%>"
                                                        Localization-Remove="<%$Resources:TMS.UI,TM_AddNewTask_btnRemoveAttachment%>"
                                                        Localization-Select="<%$Resources:TMS.UI,TM_AddNewTask_btnSelectAttachment%>"
                                                        OnClientAdded="AddNewFields" Width="500px">
                                                    </telerik:RadUpload>
                                                </td>
                                            </tr>
                                        </table>


if you need the full code for the grid or the code behind please tell .. 

Thanks





Mohammad
Top achievements
Rank 1
 answered on 15 Apr 2013
1 answer
357 views
Good Evening, I have a RadGrid has multiple rows and I would like to Add a button and on the button click event I would like the radgrid to move to the next row in the grid and have it selected. Does someone have an example of that? Thanks
Shinu
Top achievements
Rank 2
 answered on 15 Apr 2013
1 answer
161 views
Hi.
I want to display the gauge as one of the column in the RADgrid.

Instead of showing the performance in number, i want to display the guage.
And i want to get the value from datasource.

<telerik:RadLinearGauge runat="server" ID="RadLinearGauge1" Scale-Vertical="false"
                                          Scale-MajorTicks-Visible="false" Scale-Labels-Visible="false" Width="120px" Height="20px">
                                          <Pointer Shape="BarIndicator" Value="60">
                                              <Track Opacity="0.4" />
                                          </Pointer>
                                          <Scale Min="0" Max="100">
                                          </Scale>
                                      </telerik:RadLinearGauge>


Is that possible...?
If yes, pls help me by giving the solution.

thanks
--Alex
Shinu
Top achievements
Rank 2
 answered on 15 Apr 2013
2 answers
1.0K+ views
I'm new to using the RadAsyncUploader & I'm hoping there's some sample code to help jumpstart my work.  I need to upload a CSV & place it in a RadGrid. If possible, I'd like to use my own Icon (called Up.png) for the Select button, and not show the input Text box, and not show the Remove option, since it should place the file contents straight into the grid & then delete the file.  I didn't see anything in the Code Library showing how to upload a CSV & place it in a grid, but it seems like someone must have done this before me.  Any guidance is appreciated.
Scott
Top achievements
Rank 1
 answered on 14 Apr 2013
4 answers
155 views
Hi,

can anyone please enlighten me how to use jQuery on Master/Contentpages.

I have my scriptmanager on the Masterpage:
    <asp :ScriptManager ID ="RadScriptManager1" runat ="server">
        <Scripts >
            <asp :ScriptReference Assembly ="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp :ScriptReference Assembly ="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp :ScriptReference Assembly ="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts >
    </asp :ScriptManager >

How can I use jQuery on the Content page now?
Can anyone give me an example please?

Thanks in adavance for your help

best regards, Thomas
Thomas
Top achievements
Rank 1
Veteran
 answered on 14 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?