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

I am using RadGrid.
I am using 'NestedTemplate view' to show the Details.

When we click on '>' expand arrow of grid.
 It shows me the loading panel. because
it goes to page_load and NeedDatasource event of grid.

I want to show the detail of 'Nested Template view' on client side only.
When we click on '>' expand . it should not go to the serverside event.
It should not show the loading panel.

Please give me the solution.
Thanks.


Georgi Krustev
Telerik team
 answered on 06 Mar 2009
2 answers
92 views
Hi,

I use Scriptaculous in my web apps, but simply including the Scriptaculous js files in a aspx page which contains a RadTreeview causes errors...

I add the references in pageLoad:
ScriptManager.RegisterClientScriptInclude(Page, Page.GetType, "LB2", "../App_Themes/BlueSky/LightBox/js/prototype.js")
ScriptManager.RegisterClientScriptInclude(Page, Page.GetType, "LB3", "../App_Themes/BlueSky/LightBox/js/scriptaculous.js?load=effects")

And i don't use them at all.

Then, simply hovering over the RadTrees cause JS errors and my checkboxes trees no longer check...

Any ideas ?
Simon
Telerik team
 answered on 06 Mar 2009
1 answer
96 views
Hi all,

I have a problem with RadComboBox, when I dataBind() a collection to it, it renders one UL and LI tag for the browser. I would like to change to css class which are applied to UL and LI tags...

Thanks
Osman
Top achievements
Rank 1
 answered on 06 Mar 2009
1 answer
122 views
Hi Folks,

I've tried to display data from MS SQL Server 2005 using RadGrid. I've placed some GridBoundColumn which display the data. I've placed a GridButtonColumn too. In case I click this button (by row) I would like to update the SQL table.

I placed the code into  protected void gBizonylatokJovahagyasa_ItemCommand(object source, GridCommandEventArgs e) to handle the command.

the following code is responsible to get the command name:

 

string _BizonylatID = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["BizonylatID"].ToString();

 

 

string _commandname = e.CommandName;

so I wrote a method to run the sql UPDATE statement: 

 

private

void AcceptCommand(string _BizonylatID)

so i've tried to test and clicked on Command on grid but nothing happaned?

what is the problem?

Thanks,

Zsolt Zombik

 

Shinu
Top achievements
Rank 2
 answered on 06 Mar 2009
1 answer
94 views
I have created a radgrid programatically and want to be able to change the groupbyfield programatically, but it seems as though the viewstate keeps track of that and I can't override it. Has anyone done this before? If so can you provide source code.
Shinu
Top achievements
Rank 2
 answered on 06 Mar 2009
4 answers
150 views
Dynamically created Tabs are visible, but cannot see the controls created in the page.  Many thanks in advance.
 

Below is the partial aspx code:

                  <telerik:RadPane ID="PaneFolderTabs" runat="server">
                    <telerik:RadTabStrip runat="server" ID="FolderTabs" Skin="Outlook" ScrollChildren="true"
                      MultiPageID="FolderPages" SelectedIndex="0" AutoPostBack="True">
                    </telerik:RadTabStrip>
                    <telerik:RadMultiPage runat="server" ID="FolderPages" Skin="Outlook" SelectedIndex="0"
                      BackColor="White" BorderWidth="1px">
                    </telerik:RadMultiPage>
                  </telerik:RadPane>

And the codebehind:

      RadTab tab1 = new RadTab("Profile1");
      FolderTabs.Tabs.Add(tab1);
      FolderTabs.MultiPageID = "FolderPages";
      FolderPages.SelectedIndex = 0;

      RadPageView page1 = new RadPageView();
      page1.ID = "Profile1";
      FolderPages.PageViews.Add(page1);
      TextBox textboxChild = new TextBox();
      page1.Controls.Add(textboxChild);

Paul
Telerik team
 answered on 06 Mar 2009
0 answers
112 views
Hi Team,
    I am using the bellow mentioned code for node dragging .

function

onNodeDragging(sender, args)

 

{

 

debugger;

 

 

var draggedNodeVal = args._node.get_value();

 

 

var target = args.get_htmlElement();

 

 

if(draggedNodeVal != "999999999") // This check for new vale node.

 

{

 

if(!target) return;

 

 

if (target.tagName == "INPUT")

 

{

target.style.cursor =

"hand";

 

}

}

 

else

 

{

alert(

"This is a New Value node . You cannot dragg this node. Please try diffent one.");

 

args.set_cancel(

true);

 

}

}


I am getting the bellow mentioned error . Coluld you please let me know , why this is coming .

Microsoft JScript runtime error: 'this._draggingClue.style' is null or not an object

Regards
Manoj
Manoj
Top achievements
Rank 1
 asked on 06 Mar 2009
2 answers
97 views
Hi all,
I'm using radgrid in my Asp.net ajax application but i have one problem that i want to add two columns with two dropdown. but depending on selected value of one dropdown from one column i have two display value for secon dropdown from second column which will be fetched from database depending upon value of first dropdown column.
can anyone suggest me solution for this???


Thanks in Advance
Sandeep.
Sandeep
Top achievements
Rank 1
 answered on 06 Mar 2009
4 answers
168 views
I have a table x rows by y columns and I want to be able to place a Grid into any (or none) of the cells, It is defined per user.

It seems that I can add a grid control as long as I do not allow paging. But if Paging is turned on, I get an error similar to this:
Control 'ctl08_ctl00_ctl03_ctl01_ctl02' of type 'Button' must be placed inside a form tag with runat=server.

Any suggestions?

Rob
Rob Diamant
Top achievements
Rank 1
 answered on 06 Mar 2009
6 answers
216 views
Does anyone have a suggestion on how to control the order of the grouped resources. Right now it is displaying in alpha order (Alex, Bob, Dave, etc) but I want to move Sam to be the first one.

Thanks
Rob
Rob Diamant
Top achievements
Rank 1
 answered on 06 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?