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

I want to store as a integer value for each DockZone. How i can convert string to integer . where we are getting the zoneid as dynamically.Which attributes needs to set then i can find easily the position or zoneid. Please provide the proper solution.


Thanks,
Rajesh
Slav
Telerik team
 answered on 15 Feb 2012
7 answers
214 views
 Hi All,
I have an issue with RadTabStrip control when I create this control at runtime by using ajax. I alsway have the js error:  "
Microsoft JScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: type"
Could you tell me how to solve this issue?

Thanks,
Peter.
PS: Here is my code (I am using RAD2010Q1.NET3.5)

protected override void OnInit(EventArgs e)
{
base.OnInit(e);
try
{
...
...
RegisterUpdateControl();
}
catch (Exception ex)
{
DisplayErrors(ex.ToString());
}
}
protected override void OnLoad(EventArgs e)
{
int height = 0;
try
{
base.OnLoad(e);
......
.....
Test();
}
catch (System.Exception ex)
{
DisplayErrors(ex.toString);
}
}
private AjaxSetting ajaxSetting2;
private void RegisterUpdateControl()
{
ajaxSetting2 = new AjaxSetting();
ajaxSetting2.AjaxControlID = "panelTest_ID";
AjaxUpdatedControl control2 = new AjaxUpdatedControl();

control2.ControlID = "panelTest_ID";
control2.LoadingPanelID = this.ID + "loadingPanel";

ajaxSetting2.UpdatedControls.Add(control2);
this.radAjaxManager.AjaxSettings.Add(ajaxSetting2);

//panelTest_ID
}

 protected Panel panelTest;
protected Button button;
protected TextBox textbox;
private void Test()
{
panelTest = new Panel();
panelTest.ID = "panelTest_ID";
textbox = new TextBox();
textbox.ID = "textbox";
panelTest.Controls.Add(textbox);
button = new Button();
button.ID = "Button";
button.Text = "Ok";
button.Click += new EventHandler(button_Click);
panelTest.Controls.Add(button);
this.Controls.Add(panelTest);
}
RadTabStrip tap;
void button_Click(object sender, EventArgs e)
{
CreateTabTemp();
}
private void CreateTabTemp()
{
tap = new RadTabStrip();
tap.TabClick += new RadTabStripEventHandler(tap_TabClick);
tap.ID = "fdasdfasdf";
tap.EnableAjaxSkinRendering = true;
//tap.EnableEmbeddedScripts = true;
//tap.EnableEmbeddedSkins = true;
//tap.EnableSubLevelStyles = true;
InitTabs();
this.panelTest.Controls.Add(tap);
}

void tap_TabClick(object sender, RadTabStripEventArgs e)
{
string te = e.Tab.Value.ToString();
}
private void InitTabs()
{
for (int i = 0; i < 5; i++)
{
RadTab item = new RadTab("tab_" + i.ToString(), i.ToString());

tap.Tabs.Add(item);
}
}
Kalina
Telerik team
 answered on 15 Feb 2012
8 answers
189 views
A long paragraph will make the expand animation to jump, it appears that if the height of panel item > of something, this behavior happens. The same problem happens on all browsers (i tested on firefox, IE, and google chrome all fully updated).
Is this normal, can this be fixed ?

Thanks

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title></title
    <style type="text/css"
        </style> 
</head> 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
    <div> 
        <telerik:RadPanelBar runat="server" ID="RadPanelBar2" PersistStateInCookie="True" 
            Skin="Web20" ExpandAnimation-Type="OutQuad" ExpandAnimation-Duration="1000" CollapseAnimation-Type="OutQuad" 
            CollapseAnimation-Duration="1000"
            <Items> 
                <telerik:RadPanelItem Text="RadPanelItem"
                    <Items> 
                        <telerik:RadPanelItem> 
                            <ItemTemplate> 
                                <p> 
                                    this is a line of textth this is a line of textth is is a line of textthis is a 
                                    line of textthis this is a line of textth this is a line of textth h this is a line 
                                    of textth is is a line of textt <br /> 
                                    his is a line of textthis this is a line of textth this is a line of textth 
                                </p> 
                                <p> 
                                    this is a line of text</p> 
                                <p> 
                                    this is a line of text</p> 
                                <p> 
                                    this is a line of text</p> 
                                <p> 
                                    this is a line of text</p> 
                            </ItemTemplate> 
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
            </Items> 
        </telerik:RadPanelBar> 
    </div> 
    </form> 
</body> 
</html> 
 

Simon
Telerik team
 answered on 15 Feb 2012
6 answers
228 views
Hi

I would like to create a 3 level Hierarchy created from a database stored procedure. Each level can have personnel assigned to it. How will I be able to this?

Thank You
Peter Filipov
Telerik team
 answered on 15 Feb 2012
1 answer
114 views
Hi, i want to ajaxify the treeview i have on a master page to stop a full page postback everytime a node is clicked. I have found examples for this when not being used on a master page but i cannot get it to work. Can i ask also what effect would this have on the code behind we have on the masterpage for such things as node clicks? ANy help on this would be greatly appreciated.
Maria Ilieva
Telerik team
 answered on 15 Feb 2012
7 answers
459 views
Just wondering when Telerik are going to do an OLAP cube browser.

Dundas do a fantastic one....

http://www.dundas.com/Components/Products/chart/NET/OLAP/QuickStart1.aspx

--------------------


Just realised this is covered by another thread.

http://www.telerik.com/community/forums/aspnet/general-discussions/olap-control-for-asp-net.aspx#303987
Sebastian
Telerik team
 answered on 15 Feb 2012
0 answers
106 views
Team,
    I'm using RadComboBox in my project.Inside it I placed RadTree control having the dynamic data.I want to disable the RadComboBox based on the another RadComboBox selection.At server side I'm able to enable or disable the RadComboBox and able to select the data after disabling or enabling.And it will maintains entire data in RadComboBox.

But When I'm using same operations at client side using JavaScript it's not working.After enabling the RadComboBox  using JavaScript, user want to select the value in RadComboBox.Suppose if the user selects any value from it, it losses data.It just maintains only selected value.Can you please help me on how to maintain RadComboBox data after enabling using Javascript.

Thanks,
Krishna
Krishna
Top achievements
Rank 1
 asked on 15 Feb 2012
3 answers
102 views
We are having a serious problem with event handling of the RadGrid control on the server side when using IE8.  We are currently using the latest release of Telerik UI, 2011.3.1115.40.
The problem is that when the events "PageIndexChanged" and "PageSizeChanged" are fired, we receive the following error message from the browser:
    "Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'System.EventArgs' to type 'Telerik.Web.UI.GridPageSizeChangedEventArgs'."

This only happens with IE8.  When we use IE9 or FireFox for the same application, there is no error being thrown.  This is a big problem in our production environment since we have a large number of users that are using the IE8 browser.

Thank you in advance for any help you can provide.

Ed Sudit
Tsvetina
Telerik team
 answered on 15 Feb 2012
4 answers
124 views

I'm loading the ASP.NET RadMenu from a static XML file on Page_Load event like so.

if (!IsPostBack)  {
    RadMenu1.LoadContentFile("~/Menu/MainMenu.xml"); }

I frequently can see a flash of the entire XML file (50+ items in it) while the page is loading. 

Are there any stratgies to avoid this problem?

Thanks,
Russ

										
Kate
Telerik team
 answered on 15 Feb 2012
2 answers
97 views
Is it possible to display the radWindow at a scroll location.  I'm thinking of things like .scrollTop(location)?  I don't mean setting the location of the radWindow.  I mean showing the radWindow with a scroll bar but with the scroll bar value set to display below the top of the page.  I can calculate the location that I want to be visible and I can get the name of the control within the radWindow that I want visible, but i haven't figured out how to move the scroll bar programmatically.
Charles Reid
Top achievements
Rank 1
 answered on 15 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?