Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
61 views
RadAsyncFileUpload is not working on ipad and iphone4/4s.  However it is working on iphone5.  How do I fix this issue?
The Telerik controls version that I'm working with is 2011.3.1305.35.

Thank you!!
Plamen
Telerik team
 answered on 30 Oct 2012
1 answer
79 views
Version: AJAX 2012 Q2 912
Browser: IE8

I got a RadFileExplorer using the DBContentProvider to store the files on a MSSQL server.
When I'm downloading the file it changes the pound sign "#" to under score "_".

For example:

Jenny Baxter PDP #4.pdf  -->  Jenny Baxter PDP _4.pdf



Vessy
Telerik team
 answered on 30 Oct 2012
1 answer
116 views
Hi,

We use 2 grid (not connected) on one page. One grid is in Edit Mode the other shows a attachment

When I download an attachment, then update the other grid with new entered data, the data is not updated
when I push the Update button. It returns to the initial data. When I try to update again it saves the data.  

Anyone any Idea ?

The code I use for downloading the attachment :
If
e.CommandName = RadGrid.DownloadAttachmentCommandName Then
                e.Canceled = True
                Dim args As GridDownloadAttachmentCommandEventArgs = TryCast(e, GridDownloadAttachmentCommandEventArgs)
                Dim fileName As String = args.FileName
 
                'Dim column As String = args.CommandSource
                Dim strcolumn As String = args.AttachmentKeyValues("ColumnUniqueName")
                Dim strConnectionString As String = DotNetNuke.Data.SqlDataProvider.Instance.ConnectionString
                Dim conn As New SqlConnection(strConnectionString)
                'Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("TelerikConnectionString").ConnectionString)
                Dim strTable As String = CType(Settings("TableName"), String)
                Dim strUniqueId As String = CType(Settings("UniqueId"), String)
                Dim strid As String = (DirectCast(e.Item, GridDataItem)).GetDataKeyValue(strUniqueId).ToString()
                Dim comm As New SqlCommand("SELECT [" + strcolumn + "]  FROM [" + strTable + "] WHERE [" + strUniqueId + "]=" + strid, conn)
                'comm.Parameters.Add(New SqlParameter("@ID", attachmentId))
 
                Dim adapter As New SqlDataAdapter(comm)
                Dim data As New DataSet()
                adapter.Fill(data)
 
                Dim binaryData As Byte() = DirectCast(data.Tables(0).Rows(0)(strcolumn), Byte())
 
                Response.Clear()
                'Response.ClearHeaders() '***
                Response.Cache.SetCacheability(HttpCacheability.Private) '***
                Response.ContentType = "application/octet-stream"
                Response.AddHeader("content-disposition", "attachment; filename=" + fileName)
                Response.BinaryWrite(binaryData)
                Response.[End]()
                
 
            End If
Andrey
Telerik team
 answered on 30 Oct 2012
3 answers
80 views
I have a radGrid that is grouped by a certain text field. When GroupsDefaultExpanded is true (or not specified) clicking the Edit button open the popup form template correctly. But when I set GroupsDefaultExpanded to false, the Edit button no longer opens the editor popup. Clicking the Edit buttons posts back to the server, the ItemCommand event is executed with CommandName equal to "Edit", but then the group collapses itself, and the editor never appears! Clicking the AddItem link does open the editor successfully. If I change nothing more than the value of GroupsDefaultExpanded this behavior appears and disappears, so it is obviously related.
Eyup
Telerik team
 answered on 30 Oct 2012
1 answer
49 views
Hello,

I am looking at the basic samples for creating a TreeList of a directory structure and I see several examples but none that fall inline with my thinking. So perhaps someone here can set me straight with an example or explanation.

In my TreeList I have the following columns I wanted bound. Name, Author, Size, Created, Modified.

All the samples I saw used an xml file and other examples used a string array. These scenarios have me wondering perhaps incorrectly about my approach. I was thinking to create a custom object that inherits from IDictionary<string, string, String, DateTime, DateTime> or similiar. This way I could populate the object with both DirInfo as well as MetaData such as Author. In my mind I was thinking I could just then bind the ListView to this object.

Is there a tutorial or sample that I can educate myself on a custom solution using the ASP .NET ListView?

FYI .NET 4.0

Thank You
JB
Andrey
Telerik team
 answered on 30 Oct 2012
1 answer
118 views

I am using Asp.net Ajax telerik controls and VS 2010. I need to draw something like attached figure in aspx page and when the user clicks it, it needs to display user control details. I am very new to this kind of project. Please give me some input on how to achieve this ( draw rectangle like that and enter text in asp.net) using telerik controls.

 Thanks!

 

 

 

 

 

 

 

 

 

Andrey
Telerik team
 answered on 30 Oct 2012
6 answers
111 views
The RadDatePicker is not working on IE8.
With Firefox 15 is working OK please look at the image attached to this thread.

This happen after upgrading from version: 2012.1.411 to 2012.2 912

This issue maybe related to an earlier one I've already reported.
http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/12854
Maria Ilieva
Telerik team
 answered on 30 Oct 2012
1 answer
211 views
Hi  i want add file to radupload in code behind
please help
thanks
Plamen
Telerik team
 answered on 30 Oct 2012
1 answer
52 views
Hi,
      We are using Telerik.Web.Design.dll and Telerik.Web.UI.dll Version: 2010.3.1109.40 of Telerik ASP.NET AJAX Controls in our application.
 
      In one of our age, we are using the Rad editor control and basically on click of save, we do read the content in client-side JavaScript and save it to the server using REST base Service to avoid reloading the editor again and again.

      The problem which I am facing at present is, when we are opening a Hyperlink manager (or) any other popup in the editor and make any content update to save then it’s happening only at the first time. But if we try to open again then nothing happens. Either I need to log out / refresh the page to perform the operation again.

       I have gone through some of the article in Telerik forum and people had suggested us to update the application with latest dll. We have done the same but still the same issue occurs.

It would be very great if I receive any communication or input to resolve this problem.
Rumen
Telerik team
 answered on 30 Oct 2012
7 answers
209 views
Hi there,

I have a pretty simple search form as follows:

<asp:Label ID="Label1" AssociatedControlID="ZipOrCityState" runat="server">Zip or City, State</asp:Label>
<telerik:RadTextBox ID="RadTextBox1" runat="server" EnableEmbeddedBaseStylesheet="false"
    EnableEmbeddedSkins="false" TabIndex="1" EnableSingleInputRendering="true" Width="217px">
</telerik:RadTextBox>
<asp:Label ID="Label2" AssociatedControlID="CompanyList" runat="server">Company</asp:Label>
<telerik:RadComboBox ID="RadComboBox1" runat="server" EnableEmbeddedBaseStylesheet="False"
    EnableEmbeddedSkins="False" TabIndex="2" EnableSingleInputRendering="true" Width="217px"
    DataSourceID="CompanyDataSource" AllowCustomText="false" DataTextField="CompanyName"
    DataValueField="CompanyId" EnableViewState="true">
</telerik:RadComboBox>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetCompanyComboList"
    TypeName="Web.Offices.OfficeManager"></asp:ObjectDataSource>
<div class="officeSearchResultsButton">
    <telerik:RadButton ID="RadButton1" runat="server" Text="Search" CssClass="blueButton"
        OnClick="Search_Click" TabIndex="25" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false"
        ValidationGroup="ValidOfficeSearch">
    </telerik:RadButton>
</div>

With C# in the back that looks like this: 
#region EVENTHANDLER - Page_Load
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         if (!IsPostBack)
         {
             //Populate controls from values passed from calling page in the query string
             ZipOrCityState.Text = Request.QueryString["zipOrCityState"];
             CompanyList.SelectedValue = Request.QueryString["companyId"];
 
             //Bind Offices Grid
             OfficeGrid.DataBind();
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 #endregion
 #region EVENTHANDLER - Search_Click
 protected void Search_Click(object sender, EventArgs e)
 {
     try
     {
         //Check if submitted data is valid
         if (Page.IsValid)
         {
             //Bind Offices Grid
             OfficeGrid.DataBind();
         }
     }
     catch (Exception ex)
     {
         System.Diagnostics.Debug.WriteLine(ex.Message);
         throw ex;
     }
 }
 #endregion

If we choose a company from the list (blank zip field) and click search the results come back correct and the company name is persisted as the selected item, but if you just click search again without changing anything the combo box looses the selected item value and resets back to index 0. 

I'm using an ObjectDataSource so why would this happen? I'm not manually calling DataBind for this RadComboBox anywhere? 

Regards,
Jacques
Dimitar Terziev
Telerik team
 answered on 30 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?