Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
65 views
Hello

I try to select only enabled rows from a grid using javascript

But if a have one or more rows thas are enabled, the header of the colunm turn uncheked ....

I read some post about this problem but they are old (2008)...i have the same problem in 2012...
What'a the solution ? Am i obliged to create a hidden col ?
Have you a recent complete example ?

Thank of for your help and sorry for my english

Anne
Pavlina
Telerik team
 answered on 15 Feb 2012
4 answers
89 views
Hi,
i am creating user control webpart which use radscheduler and loading Panel but its not showing up.
please advise what i am doing wrong.
i can send you code but i am not able to.
Thanks
Ronak
Ronak
Top achievements
Rank 1
 answered on 15 Feb 2012
7 answers
606 views
Hi,

I just bought the RADControls and I have a quick question on the licensing per developer.  I have two development machines; one at home and one in the office.  Will there be any problem with me using the control on both machines?

Thanks
Brian 
Donna
Telerik team
 answered on 15 Feb 2012
1 answer
79 views
Hello, I am trying to bind my scheduler to a database and I am having trouble. I am just trying to do the basics following the codeless example I was on the site.

I added the entity data source to my project and through the wizard I went through and set it up pointing to my online database. It saw my tables and I was able to select them. I also checked off the insert, update, delete. So I know the issue is not being able to see the database.

Next I set the scheduler data id to the it of the entity data source.

Below is all the code on the page I have.

<asp:EntityDataSource runat="server" ID="EntityDataSource1" ConnectionString="name=on2wheelsEntities"
DefaultContainerName="on2wheelsEntities" EntitySetName="Scheduals" EnableDelete="True"
EnableInsert="True" EnableUpdate="True" EnableFlattening="False" 
        EntityTypeFilter="Schedual">
</asp:EntityDataSource>

    <telerik:RadScheduler Height="600px" ID="RadScheduler1" runat="server" SelectedView="MonthView"
    DataDescriptionField="Description" DataEndField="EndTime" DataKeyField="Key" 
    DataSourceID="EntityDataSource1" DataStartField="StartTime" 
    DataSubjectField="Subject" EnableDescriptionField="True">
    </telerik:RadScheduler>

    <telerik:RadAjaxManager runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>


I made a table just for the scheduler to add items to. I have the following structure:

Id (Primary key)(int)(auto increment)(Not Nullable)(not used with scheduler)
StartTime (datetime)(Nullable) 
EndTime (datetime)(Nullable) 
Subject (varchar100)(Nullable) 
Description (varcharmax)(Nullable) 
Key (int)(Nullable) 


Plamen
Telerik team
 answered on 15 Feb 2012
3 answers
91 views
Hi Guys,

Need to know that if there is any facility where we can disable everything but the Edit form pop up, when it is Open?
Richard
Top achievements
Rank 1
 answered on 15 Feb 2012
1 answer
65 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
196 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
126 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
195 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
89 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?