Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views
the following code worked fine in 2010 version but throws exceptions in 2011.3.3115.35

protected void cmbShipDate_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
    string filterExpression;
    filterExpression = RemoveFilter("ShipDate");
    rgEditOrder.MasterTableView.FilterExpression = filterExpression;
    if (cmbShipDate.SelectedItem.Text == "All")
        filterExpression = string.Empty;
    else
        filterExpression = "([ShipDate] = '" + cmbShipDate.SelectedItem.Text + "')";
    rgEditOrder.MasterTableView.FilterExpression = AppendFilterExpression(filterExpression);
    rgEditOrder.EditIndexes.Clear();
    ClearOutItemData();
    rgEditOrder.MasterTableView.Rebind();
}
 
private string AppendFilterExpression(string filterExpression)
{
    StringBuilder sb;
    sb = new StringBuilder(rgEditOrder.MasterTableView.FilterExpression);
    if (filterExpression == string.Empty)
        return sb.ToString();
    if (sb.ToString() != string.Empty)
    {
        sb.Append(" AND ");
    }
    sb.Append(filterExpression);
    return sb.ToString();
}

what gives?
Elliott
Top achievements
Rank 2
 answered on 29 Dec 2011
2 answers
109 views
Hi,
My scenario is like below:
1: There is an  asp.net UpdatePnale that I defined a RadGrid inside it.
2: I have defined a Pager Template for RadGrid. Template is a user control that contains some javascript and some server controls to navigate RadGrid.(Javasripts used for client events)
3: RadGrid shows some result search and it will appear when user clicks search button and updates UpdatePanel. So there is no any RadGrid in page at first view .
4: My javascript codes of pager uc is rounded by RadScriptBock tag.

My problem is:
1: When I click search button, server fill RadGrid and it appears correctly. But all client evenst that i have attached to pager uc server controls are undefinded and Javascript  error appears in the page. This causes that some controls like RadCombobox renders incorectly.
2: When I click next page button of pager, after server response, all things become ok. So my problem is at first view of appearing RadGrid.

My Idea:
I think when request handles by asp.net update panel it ignores my javascript block . But second time that request handles by RadAjaxManager it registers my javascipts correctly. Am i right? Is there any solution for this?

Any Idea or solution is appreciated.
 
 
mohsen
Top achievements
Rank 1
 answered on 29 Dec 2011
4 answers
103 views
Hei,

about this example:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx?product=grid

I have problem to show the images upload button. (it dont show at all on the page)

I have also problem with this: (data dont show)

 <EditItemTemplate>
  <telerik:RadTextBox ID="txbDescription" Width="370px" runat="server" TextMode="MultiLine"
  Text='<%# Bind("Description") %>' Height="150px" />
 </EditItemTemplate>


When a replace the <telerik:Radtextbox> with an <asp:TextBox> then the data shown

Is there anyone who can give me some good advice? or is there some better examples that I can use.

Best regards

Rune

Antonio Stoilkov
Telerik team
 answered on 29 Dec 2011
1 answer
131 views
Hi,

I am not able to get ContextMenu Item on ContextMenuItemClick events after adding context menu item on client side.

 function ClientContextMenuShowing(sender, eventArgs) {
 menu = eventArgs.get_menu();
 var newItem = new Telerik.Web.UI.RadMenuItem();
 newItem.set_text('Test');
 newItem.set_value('1');
menu.get_items().add(newItem);
}

Please help.
Princy
Top achievements
Rank 2
 answered on 29 Dec 2011
2 answers
103 views
Hello,

Recently i have been working on radrecurrenece editor, i wanted to customize end by datepicker calendar how to do that ,please respond thanks.

Regards,
Madhukar.
Saimadhukar
Top achievements
Rank 1
 answered on 29 Dec 2011
2 answers
78 views
Hi,

Let us say our list is as follows:

1. Raghu
2. Ram
3. Gandhi
4. Raghu

Though the user selects the 4th Raghu, the selected item that is being sent to the server is the 1st Raghu!

I remember this being mentioned as a known issue somewhere in the forum. However, in my case, there is no way to actually ensure that the text of the item is going to be unique because the list being shown actually is a list of persons. This is really a deal breaker for me!

Any ideas on how to fix this?

Thanks,
Raghu
Raghavendra
Top achievements
Rank 1
 answered on 29 Dec 2011
3 answers
142 views
Hey team,

I know orgchart is a newbie to the control group and I don't see a list of things what it can do and not do. That would help instead of expecting everything from it. I saw the demo and other code from the demo section but it doesn't tell what are the limitations. For example, I see you can limit the depth of the tree but it doesn't give option to expand or drill down the tree in the org chart. Also is there way to give summary of reports for each employee on the tree. For example, manager has 3 reports which can be showed in the manager info as reports - 3. That would be good one. Also there are functional reports and HR reports in many organizations, like multiple parent scenario. 

Please let us know whats available right now and whats coming? That would help us.
Ivan Zhekov
Telerik team
 answered on 29 Dec 2011
2 answers
106 views
Can we remove the borders for RadSplitter. I just need the RadSplitBar and no border.
parobe01
Top achievements
Rank 1
 answered on 29 Dec 2011
2 answers
74 views
Is there a way where we can have RadSplitter control and RadSlidingZone both in a webform.
Coz if i add RadSlidingZone inside a RadSplitter, RadSlidingZone functions( dock/ close button) does not work properly.
parobe01
Top achievements
Rank 1
 answered on 29 Dec 2011
2 answers
220 views
Hello. 
I want implement range slider to my gridview.. i've found really good example in your demo pages. 
when my data is numbers it is ok. but my data is letter. i mean i want to control and filter my gridview with
letters. When user drag slider from left side from "a" to "b" data results must be exclude "a" and also when user 
drag from right side from "z" to "y" data results must exclude "a" and "z"..
is it possible to implement with telerik rad slider?

Kindly Regards
and 
Happy New Year!
Ömer


omer
Top achievements
Rank 1
 answered on 29 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?