Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
63 views
Hi Team, 
We are using RadAsyncUpload in one of our page. For that we use ProgressArea also. My problem is, I am using other FileUpload(Normal aspx control) in my page. If I am uploading some stuff's through that control(by aspx FileUpload) progress area shows for that also. Can you suggest me a solution so that Progress area is displayed only when I upload through async Upload. 

I have tried the through the javascript
 function OnClientFileUploading2(sender, args) {
                var pa2 = $find("RadProgressArea2");
                pa2.set_visible(true);
}

Since I use many FileUpload controls , I don't want all the FileUpload's to set that as invisible. 
Hristo Valyavicharski
Telerik team
 answered on 26 Nov 2013
1 answer
100 views
Hi,
how to hide the filter icon only of a column in radgrid.
Shinu
Top achievements
Rank 2
 answered on 26 Nov 2013
3 answers
90 views
Recently I bought a new laptop. I am migrating my tools from my old laptop to the new one. I have 2011 Q3 version of the Rad Controls. My new laptop has Windows 8 and I am trying out Visual Studio 13 Preview version. My code compiles without any error but when I run my web site Rad Controls do not render properly.

I researched and found out two possible causes - 1) Enable JavaScript in browsers and 2) Register Telerik.Web.UI.dll in GAC. I tried both workarounds but still my pages are not rendering telerik controls correctly.

Is there anything else I can check?

Thanks in advance for your help!


Vessy
Telerik team
 answered on 26 Nov 2013
3 answers
116 views

http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/incorrectly-rendered-webpage-when-using-internet-explorer-11.aspx

In the above post the Telerik Admin suggested a browser file fix which worked very well for my Windows 7, IE 11 machine.

However it did not fix Windows 8.1 IE11.  The problem exists until you switch to compatibility mode.

Is there something else we can do to the browser file until we resolve the impact of upgrading to .Net 4.5?

thanks,

Tim Kelley

Boyan Dimitrov
Telerik team
 answered on 26 Nov 2013
4 answers
117 views
I have an excelworkbook the user has saved to the server.
I have a radgrid that is being databound to this excel workbook.
This workbook can have varying number of columns so I cannot hardcode the columns

Each column will have various datatypes in them.. For example
Column 1 will be mixed alphanumeric values
Column 2 will be dates
Column 3 will be mixed alphanumerics

When I bind the excelworkbook to the radgrid all of the alpha numeric columns (Letters and numbers) do not show up.. 

ANy idea on how to fix this issue?

I am using the following code plex project to translate the excel workbook into a dataset with tables for each tab in the excel workbook:
http://exceldatareader.codeplex.com/

The code that actual binds the radgrid:
protected DataSet Data
       {
           get
           {
               if (Application["data"] == null)
               {
                   return null;
               }
               return Application["data"] as DataSet;
           }
       }


private void ImportFromExcel()
     {
         // Bind Data and populate Dropdown
 
         string filePath = String.Format("~/ImportProduction/{0}", FileName);
         FileStream stream = File.Open(Server.MapPath(filePath), FileMode.Open, FileAccess.Read);
         IExcelDataReader excelReader = ExcelReaderFactory.CreateOpenXmlReader(stream);
 
         excelReader.IsFirstRowAsColumnNames = firstRowIsHeaderRowCheckBox.Checked;
 
         Application["data"] = excelReader.AsDataSet();
         excelReader.Close();
 
 
 
         foreach (DataTable t in Data.Tables)
         {
             var name = t.TableName;
             var index = Data.Tables.IndexOf(t);
             RadComboBoxItem item = new RadComboBoxItem(name, index.ToString());
             RadComboBox1.Items.Add(item);
         }
         RadGridImport.Rebind();
         
     }

protected void RadGridImport_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
      {
          if (Data != null)
          {
              var selectedWorkSheet = RadComboBox1.SelectedIndex;
              if (selectedWorkSheet != -1) (sender as RadGrid).DataSource = Data.Tables[selectedWorkSheet]; ValidateButton.Enabled = true;
          }
      }

Kunal
Top achievements
Rank 1
 answered on 26 Nov 2013
1 answer
72 views
Hi.
I have an autogenerated radgrid i want to access the values in it from code behind. How to access it when i dont know its uniquename.
Shinu
Top achievements
Rank 2
 answered on 26 Nov 2013
5 answers
70 views

I am having this issue since very long that Filter Icon of GridNumericColumn is not displayed Properly.
See Attached Image. It happens only in IE7. Above IE7 it works perfect. And also it happens with GridNumericColumn
Column only. It works with BoundColumn.
I am using following code and css as it suugests in some of telerik forum but it doesn't work.

 

<telerik:GridNumericColumn DataField="abc" HeaderText="abc" UniqueName="abc"

FilterControlWidth="80%" SortExpression="abc" FilterListOptions="VaryByDataType"

Resizable="true" AutoPostBackOnFilter="false" ShowSortIcon="true" DataType="System.Int32">

<ItemStyle Width="7%" />

<HeaderStyle Width="7%" />

</telerik:GridNumericColumn>

<!--[if IE 7]>

<style type="text/css">

.riTextBox,.riFocused,.riEnabled,.riHover

{

height:15px !important;

}

#ctl00_ContentPlaceHolder_grdAppointmentSearch_ctl00_ctl02_ctl03_RNTBF_abc

{

width:50px !important;

max-width:50px !important;

}

</style>

<![endif]-->

Deyan Enchev
Telerik team
 answered on 26 Nov 2013
1 answer
299 views
Hi,
I have a GridImageColumn , on its button click I want to select that row. How to achieve this? 
Princy
Top achievements
Rank 2
 answered on 26 Nov 2013
4 answers
719 views
Hey, 

Trying to make a grid sort a column in descending order after clicking once on the header instead of the default ascending first. Essentially, the behaviour of this demo. From this documentation I get the impression that I can just do this from markup, as the demo does it by creating a SortExpression from code behind. I tried this in my code, and I'm not seeing a behaviour difference. 

It's for Telerik 2010Q2 release, without the service pack. 
VS2010, .NET 4.

The relevant grid markup follows. It pulls from a LinqDataSource, declared by DataSourceID.

<MasterTableView DataKeyNames="ReportID">
       <SortExpressions>
           <telerik:GridSortExpression FieldName="ReportSeverityLevelID" SortOrder="Descending" />
           <telerik:GridSortExpression FieldName="ReportSeverityColumn" SortOrder="Descending" />
       </SortExpressions>
           <Columns>
               <telerik:GridTemplateColumn HeaderText="Severity" HeaderStyle-Width="45px" SortExpression="ReportSeverityLevelID" UniqueName="ReportSeverityColumn" AllowFiltering="false">
                   <ItemTemplate>
                           <asp:Image ID="Image3" runat="server" ImageUrl='<%# string.Format("~/Images/{0}", ReportSeverityLevel.GetReportSeverityLevel(r=>r.ReportSeverityLevelID==(int)Eval("ReportSeverityLevelID"),r=>r.IconImageFile)) %>' ImageAlign="AbsMiddle"
                           AlternateText='<%# ReportSeverityLevel.GetReportSeverityLevel(r=>r.ReportSeverityLevelID==(int)Eval("ReportSeverityLevelID"),r=>r.Name) %>' ToolTip='<%# ReportSeverityLevel.GetReportSeverityLevel(r=>r.ReportSeverityLevelID==(int)Eval("ReportSeverityLevelID"),r=>r.Name) %>' />
                   </ItemTemplate>
               </telerik:GridTemplateColumn>

Not, I tried the sort expression by column name just in case, as the documentation suggests it should be by the DataSource field, which the first SortExpression for FieldName ReportSeverityLevelID is. 

Thanks for any ideas. 

Paniz
Top achievements
Rank 1
 answered on 26 Nov 2013
1 answer
140 views

I have a lightbox setup with an ItemTemplate, I am displaying html text (not images like the data binding examples).  I have an asp.net label inside my ItemTemplate that I want to bind the lightbox control to a list of strings and show the string inside of the label.  I tried <%# Eval("mypropname")%> inside of the label but get a "Value of type 'System.Web.UI.Control' cannot be converted to 'Telerik.Web.UI.RadLightBoxItem'.


All of the Data* properties exposed server side appear to be specific to displaying images in lightbox.  Is there a way to databind a lightbox with a custom item template to a list of strings?  If not, is there a way to manually add these items to the lightbox server side?



Thanks!



Kostadin
Telerik team
 answered on 26 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?