Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
127 views
Hi,

I want to set an empty message in asyncupload as we shows in radtextbox.

My code is

  <telerik:RadAsyncUpload ID="RAUFeatures" runat="server" Style="float: left;" EmptyMessage="Select a File..."
                        Localization-Select="Browse" MaxFileInputsCount="1" Width="400px" TargetFolder="~/App_Data"
                        AllowedFileExtensions="csv" MaxFileSize="614400" OnFileUploaded="RAUFeatures_FileUploaded"
                        OnClientValidationFailed="GridvalidationFailed" OnClientFileUploadRemoved="ToGridDeleteFile"
                        OnClientFilesUploaded="OnClientFilesUploaded">
                    </telerik:RadAsyncUpload>

I have already gave empty message property but not working i am using VS2012 and Telerik Version=2013.3.1324.40

Thanks
Manish.
Hristo Valyavicharski
Telerik team
 answered on 10 Mar 2014
1 answer
111 views
I am using radlistbox to change a display order field.  SqlDataSource fires updated event for appropriate items but the displayorder integer does not get changed.  I'm at a loss as to how to troubleshoot this issue.   code below.

<telerik:RadListBox runat="server" ID="rlbxFields" DataSourceID="sqlFields" AllowDelete="True" AllowReorder="True" DataKeyField="ID" DataSortField="DisplayOrder" DataTextField="LabelText" DataValueField="ID" AllowAutomaticUpdates="true" AutoPostBackOnReorder="true" AutoPostBackOnDelete="true" EnableDragAndDrop="true"></telerik:RadListBox>
<asp:SqlDataSource ID="sqlFields" runat="server" ConnectionString="<%$ ConnectionStrings:zPortalConnectionString %>" DeleteCommand="DeleteFormField" DeleteCommandType="StoredProcedure" InsertCommand="UpsertFormField" InsertCommandType="StoredProcedure" SelectCommand="GetFormFields" SelectCommandType="StoredProcedure" UpdateCommand="UpsertFormField" UpdateCommandType="StoredProcedure">
<DeleteParameters>
<asp:Parameter Name="ID" DbType="Guid" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="FormID" DbType="Guid" />
<asp:Parameter Name="ID" DbType="Guid" />
<asp:Parameter Name="LabelText" Type="String" />
<asp:Parameter Name="Type" Type="String" />
<asp:Parameter Name="DisplayOrder" Type="Int32" />
<asp:Parameter Name="Required" Type="Boolean" />
<asp:Parameter Direction="InputOutput" Name="ID_OUT" DbType="Guid" />
</InsertParameters>
<SelectParameters>
<asp:Parameter Name="FormID" DbType="Guid" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="FormID" DbType="Guid" />
<asp:Parameter Name="ID" DbType="Guid" />
<asp:Parameter Name="LabelText" Type="String" />
<asp:Parameter Name="Type" Type="String" />
<asp:Parameter Name="DisplayOrder" Type="Int32" />
<asp:Parameter Name="Required" Type="Boolean" />
<asp:Parameter Direction="InputOutput" Name="ID_OUT" DbType="Guid" />
</UpdateParameters>
</asp:SqlDataSource>
Hristo Valyavicharski
Telerik team
 answered on 10 Mar 2014
1 answer
256 views
Hello everyone,

I am working with RadDock on an ASP.NET page and having problems with both collapse/expand and resizing the control.  When I collapse and expand the control repeatedly the height of the control grows by about 3-5 pixels.  When I resize the control the height AND width expand around 3-5 pixels beyond what I resized it to.  (e.g I resize the control from 400x400 to 500x500 and release the mouse it will grow to 503x503)

Attached is a picture of the RadDock before a collapse and then after a collapse and expand.

I'm using Telerik product version: 2013.1.326.45 and IE 10

Thanks for any help!

The control is setup as follows:
 
<telerik:RadDock ID="RadDockItems"
                             DockMode="Default"
                             CssClass="dashboardDock"
                             Resizable="true"
                             EnableDrag="true"
                             Title="Follow-up"
                             Height="405px"
                             Width="1111px"
                             DefaultCommands="All"
                             Left="10px"
                             Top="307px"
                             Pinned="true"
                             OnClientResizeEnd="RadDockItems_ResizeEnd"
                             OnClientInitialize="DockInitialize"
                             runat="server">

Slav
Telerik team
 answered on 10 Mar 2014
1 answer
141 views
So have recently moved an application from one Web Server to another.

The new one is running Windows 8.

For whatever reason by RadCaptcha is failing to validate. If you type in the correct text, it says its invalid.

Why would this be ?

I had a brief look at a solution regarding changing the ImageStorageLocation to Session, however once I added the values mentioned into my Web.Config my entire application broke.

I'm not sure this would resolve my issue anyway.

Any suggestions ?

<telerik:RadCaptcha ID="captcha" ProtectionMode="Captcha" runat="server" CaptchaImage-ImageCssClass="captcha_brdr"
    ValidationGroup="validate_buyer_register" CaptchaImage-BackgroundNoise="Extreme" CaptchaImage-LineNoise="High"
    CaptchaImage-EnableCaptchaAudio="true" EnableRefreshImage="True"
    ErrorMessage="Incorrect captcha entered!">
</telerik:RadCaptcha>
Slav
Telerik team
 answered on 10 Mar 2014
7 answers
88 views
I just installed the latest version of Telerik controls and I'm trying to debug problems in IE10.  (Chrome and FireFox appear to be working fine.)

My main problem is this: Even in compatibility mode, the RadGrid on my form is displaying at half its expected width.

The grid is inside a div (and it apparently makes no difference whether the div has a width attribute or not.)

The RadGrid width itself = 99%.  The width of the individual columns has not been set on purpose.  It is expected that they will spread out over the page by default.  Up till now this has always worked even in IE.  

Now that I've upgraded to the latest Telerik controls, this expansion is not happening.  This problem is only occurring in IE10.

Suggestions?
Boris
Top achievements
Rank 1
 answered on 10 Mar 2014
3 answers
102 views
Rad
Hi,

I have question here related to Rad Grid PDF Export.

Is there any way to avoid hard coding width inside the table (<table width="70px">), In our scenario, we are getting the width from CSS file but it fails while we do export data to Pdf file, we get very weird server error, pasted below-

We don't want to hard code this width inside the table, please suggest some alternative way of doing it.

<telerik:GridTemplateColumn UniqueName="Symbol">
                    <HeaderTemplate>
                        <asp:Label ID="labelHSymbol" runat="server" Text="Symbol"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <table width="70px">
                            <colgroup>
                                <col />
                            </colgroup>
                            <tr>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="labelSymbol" runat="server" Text='<%# Bind("Symbol") %>'></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>

Server Error in '/' Application.
System.SystemException: At least one of minimum, optimum, or maximum IPD must be specified on table.
  at Telerik.Web.Apoc.ApocDriver.FireApocError(String message)
  at Telerik.Web.Apoc.Fo.Flow.Table.SetIPD(Boolean bHasProportionalUnits, Int32 maxAllocIPD)
  at Telerik.Web.Apoc.Fo.Flow.Table.CalcFixedColumnWidths(Int32 maxAllocationWidth)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.SystemException: System.SystemException: At least one of minimum, optimum, or maximum IPD must be specified on table.
  at Telerik.Web.Apoc.ApocDriver.FireApocError(String message)
  at Telerik.Web.Apoc.Fo.Flow.Table.SetIPD(Boolean bHasProportionalUnits, Int32 maxAllocIPD)
  at Telerik.Web.Apoc.Fo.Flow.Table.CalcFixedColumnWidths(Int32 maxAllocationWidth)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)
 
Source Error:
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 
Stack Trace:
 
 
[SystemException: System.SystemException: At least one of minimum, optimum, or maximum IPD must be specified on table.
   at Telerik.Web.Apoc.ApocDriver.FireApocError(String message)
   at Telerik.Web.Apoc.Fo.Flow.Table.SetIPD(Boolean bHasProportionalUnits, Int32 maxAllocIPD)
   at Telerik.Web.Apoc.Fo.Flow.Table.CalcFixedColumnWidths(Int32 maxAllocationWidth)
   at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
   at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
   at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
   at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
   at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
   at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
   at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
   at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
   at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
   at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
   at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
   at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
   at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)]
   Telerik.Web.Apoc.ApocDriver.FireApocError(String message) +82
   Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader) +701
   Telerik.Web.Apoc.ApocDriver.Render(XmlReader inputReader, Stream outputStream) +192
   Telerik.Web.Apoc.ApocDriver.Render(TextReader inputReader, Stream outputStream) +43
   Telerik.Web.UI.Grid.Export.TableViewExporter.PdfExportRenderForm(HtmlTextWriter nullWriter, Control form) +1120
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +8827569
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   Telerik.Web.UI.Grid.Export.TableViewExporter.PdfExportRenderPage(HtmlTextWriter nullWriter, Control page) +92
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
 
 
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Princy
Top achievements
Rank 2
 answered on 10 Mar 2014
1 answer
41 views
Hi,
I've a RadGrid and I used EditFormSettings with an external WebUserControl for Insert and Delete record.

<EditFormSettings EditFormType="WebUserControl" UserControlName="~/Desktop/Function/Content/Grid/ucGridManageEvent.ascx">
                    <EditColumn UniqueName="EditCommandColumn1">
                    </EditColumn>
</EditFormSettings>

I want use in this WebUserControl (ucGridManageEvent.ascx) an ImageEditor but the control don't work; load the image but all the feature don't work and the element in combobox are unreadable ( see picture)


Vessy
Telerik team
 answered on 10 Mar 2014
1 answer
468 views
Hi I set a link in my RadGrid to another page in the solution. When this link is clicked the load event happens on the other page, but I found out that it runs TWICE. I am trying to figure out why the page is loaded twice and i looked at the query string in both calls and it was like this:

{Tag_ID=20&JobID=58&rwndrnd=0.9606249039261587}
{Tag_ID=20&JobID=58&rwndrnd=0.37347160870580026}

So my question is what is rwndrnd? and can the values of it in the two requests help me figure out why the page is being loaded twice?


Thanks
Sam
Ianko
Telerik team
 answered on 10 Mar 2014
5 answers
191 views

Hi, I've a small problem with RadGrid.
I must transform old code with ASP.NET GridView in a new code with Telerik RadGrid.

In old version I've two TemplateField in my GridView : in first column  there is a label with the code of row (hide) and in the second column there is an ImageButton with an Handler with the function btnUpdate_Click.

....

<asp:TemplateField Visible="false">  
 <ItemTemplate> 
         <asp:Label ID="lblCode" runat="server" Text='<%# Bind("Code") %>' /> 
        </ItemTemplate> 
</asp:TemplateField> 
<asp:TemplateField> 
 <ItemTemplate> 
         <asp:ImageButton ID="btnEdit" runat="server"  ImageUrl="~/edit.png" OnClick="btnEdit_Click" CausesValidation="false" /> 
 </ItemTemplate> 
</asp:TemplateField> 

......

In function btnEdit_Click I cast the row and the Label control in the row and with the code I transfer the page.

protected void btnEdit_Click(object sender, EventArgs e)  
{  
 GridViewRow row = ((GridViewRow)((ImageButton)sender).NamingContainer);  
 Label lblCode = (Label)row.Cells[0].Controls[1];  
 Server.Transfer("~/Detail.aspx?Code="+lblCode.Text);  

How do I do this operation with RadGrid?
I don't want use the the Inline solution or client scripts.
I need that when the user click on an imageButton or button in a row I enter in a server side code.

Thanks,
Marco

Maria Ilieva
Telerik team
 answered on 10 Mar 2014
1 answer
36 views
Como hago para cambiar el idioma del panel de un radpivotgrid
Kostadin
Telerik team
 answered on 10 Mar 2014
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?