Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
90 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
55 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
128 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
121 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
236 views
Hi  i want add file to radupload in code behind
please help
thanks
Plamen
Telerik team
 answered on 30 Oct 2012
1 answer
62 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
216 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
7 answers
548 views
I'm developing an application with a fileexplorer control on it. On the page, above the fileexplorer control, I have a custom file upload function, so I disabled the add button in de fileexplorer's toolbar.

I'm having trouble to display the newly added file in the content of the fileexplorer control. I upload the file in the current folder of the control.
I've tried using the server-side function DataBind() to refetch the contents of the folder, but that didn't work. 

Second, I've added a client-side function on the OnClientLoad event, with the following content:
function refreshAfterUpload(explorer, args)
{
    if (newImage)
        explorer.refresh(explorer.get_currentDirectory());
}
The js variable newImage is set server side when i've added a document. This also doesn't work.

The last option I tried was calling the serverside function FileExplorer.Grid.Rebind(). However, during the postback and the upload of the new file, FileExplorer.Grid is null. 

Can anybody help me? After I upload a new file in the current folder of the fileexplorer control, I want to be able to see it.


Vessy
Telerik team
 answered on 30 Oct 2012
8 answers
163 views
I have a page that doesn't use AJAX or partial postbacks. It contains a DateTextBox, RadComboBox and a RadGrid.

I added 4 RadListBoxes to the page. I have JQuery to show/hide the table that the RadListBoxes are in.

1rst problem: When the page loads in IE, the RadListBoxes aren't there. I can ge them to appear by clicking the show/hide icon that uses JQuery.

2nd Problem: If I so much as hover over the RadComboBox, the RadListBoxes disappear again. But it's only the RadComboBox control that does this and only in IE (IE9 is what I'm using).

I've removed the JQuery to rule it out. The page still doesn't render the RadListBoxes on load.
There are no other settings, properties or Javascript that is showing/hiding anything, especially around the RadComboBox.

I replaced the RadComboBox with an ASP DropDownList. The RadListBoxes show up on load, but if I select something in the DropDownList, the RadListBoxes disappear again.



Robert Helm
Top achievements
Rank 1
 answered on 30 Oct 2012
1 answer
98 views
Hi

In my radgrid I have enabled filtering of columns. I want to extract the text typed in the filter textbox in itemcommand event. How should I access the text.
thanks in advance
savyo
Shinu
Top achievements
Rank 2
 answered on 30 Oct 2012
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?