Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
I am using Visual Studio 2008 on Windows XP SP3.

I have a RadGrid control within a RadSlidingPane and the page compiles fine. However, when I build the entire solution, I receive an error like this:

'Page_Test' does not contain a definition for 'RadGrid1' and no extension method 'RadGrid1' accepting a first argument of type 'Page_Test' could be found (are you missing a using directive or an assembly reference?)

I can compile the page manually and run without debugging, this only happens when I rebuild the entire solution. Also, it doesn't matter what controls are placed within the RadSlidingPane, I get the same behaviour. Can you help?
Svetlina Anati
Telerik team
 answered on 22 Oct 2009
1 answer
104 views
Hello,

Little background before the question.

I have an app the has Objects with nested lists of Objects. For ease lets say TEST obj. with list of QUESTION objs.  Is it possible to get the RadGrid to generate a Hierarchical grid by passing a single ObjectDataSource that is a list of TEST objects? If not is it possible to get one displayed using 2 ObjectDataSources with out using the PK/FK relations shown in the tutorial?  Since the objects do not have access to this information.  This is rather desirable for me, and would be used in many instance in the project alone.

Regards,
Jimm


PS. Posted in a wrong forum earlier I edited it Sorry, could not find a delete.
Sebastian
Telerik team
 answered on 22 Oct 2009
3 answers
117 views
I'm planning to use the Raddock control for my website portal and I want all the docks to remain in their fix position.
Is there a way for me to specify the arrangement of the dock in the dock zone?

Thanks.
Pero
Telerik team
 answered on 22 Oct 2009
3 answers
127 views
Hi

We dynamically call rad alert from c# code.

I could see the popup on click of ok or even the close button i could redirect to some page.

But if i press enter button in the keyboard the close event is not firing.

Any sugessions will be of great help.

Script

 

<script type="text/javascript">

 

 

function ShowAlert()

 

{

 

var oWnd = radalert('Password Updated Successfully!', 330, 110,'Message');

 

oWnd.add_close(closingFn);

}

 

 

function closingFn()

 

{

window.location =

"Logout.aspx";

 

}

 

</script>

 


C#

string

 

scriptstring = "ShowAlert();";

 

 

ScriptManager.RegisterStartupScript(this, this.GetType(), "radalert", scriptstring, true);

 



Regards

Bharath.
Georgi Tunev
Telerik team
 answered on 22 Oct 2009
1 answer
163 views
I have a database which contains Link and LinkPdf columns now want to add image buttons to the radgrid when user clicked adobe button a new page will open and direct to pdf link which is given in LinkPdf column.
Shinu
Top achievements
Rank 2
 answered on 22 Oct 2009
1 answer
218 views
Hi all,
i have one senario ,  i have telegrid with have some textbox and combox columns with binded data.  every row have two icon. for delete. and "add row icon" end of row(last row). this two operation should  work without post back.  because i have get all the value after i clicked my submit button.
when i click add icon new row should come with textbox and combo box in the grid. "add icon" should go to latest row.  .click "delete icon , corresponding  row will delete.

Please give me soluton as soon as possible.
Please refer Attachment  also
Sebastian
Telerik team
 answered on 22 Oct 2009
3 answers
130 views
Hi,

I have a RadGrid with self-referencing hierarchy and on 'RowSelected' client event I am trying to get the text of the parent row.
I am using code below which works well in IE and Chrome, but returns nothing in Fire Fox. Is there any work around for this?

eventArgs.get_tableView().get_parentRow().cells[0].innerText

Thanks
Veli
Telerik team
 answered on 22 Oct 2009
2 answers
198 views
Is it possible to set the value of a cell client-side doing something like this?  (Obviously this does not work) 

 

 

 

function Test2() {

 

 

var MasterTable = $find('RadGrid1').get_masterTableView();

 

 

var items = MasterTable.get_dataItems();

 

 

var i = 0;

 

 

for (i = 0; i < 5; i++) {

 

 

var row = MasterTable.get_dataItems()[i];

 

 

var cell = MasterTable.getCellByColumnUniqueName(row, "StopNumber");

 

 

if (cell.innerHTML == 2) {

 

MasterTable.selectItem(MasterTable.get_dataItems()[i].get_element());

MasterTable.editSelectedItems();

 

var cell2 = MasterTable.getCellByColumnUniqueName(row, "PickUpOrDelPIN_NUM");

 

cell2.set_value =

"711143"

 

 

 

 

 

MasterTable.updateEditedItems();

 

return false;

 

}

}

}

John Thompson
Top achievements
Rank 1
 answered on 22 Oct 2009
4 answers
543 views
I have the following set up in markup, which is inside a multi level hierarchy:

                    <rad:GridTemplateColumn HeaderText="Permission"
                        <ItemTemplate> 
                            <rad:RadComboBox ID="rcbParentCategoryPermission" runat="server" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged"></rad:RadComboBox> 
                        </ItemTemplate> 
                    </rad:GridTemplateColumn> 
 

In JS I have this:

function OnClientSelectedIndexChanged(sender, eventArgs) { 
    var row = sender.get_element().parentNode.parentNode; 
    // how to get the rowindex from this? 

What I want to do is get the gridrow so I can expand/collapse the hierarchy when the combobox index is changed on the client. I've tested that my client hierarchy is looping and expanding all levels correctly. I did this by adding the RowClick handler on the grid. Now all I want to do is find the current rowindex when the combobox value is changed on the client. It feels like it should be simple, but I've been trying to do it for hours.

thanks,

Steve


Steve White
Top achievements
Rank 1
 answered on 22 Oct 2009
3 answers
97 views
Hello,

I have a problem with the scrollbar of the listbox. When I apply a skin on my list box like that :

<telerik:RadListBox runat="server" ID="RadListBoxSource" Height="200px" Width="200px" SelectionMode="Multiple" Skin="Black"
        <Items> 
            <telerik:RadListBoxItem Text="Argentina" /> 
            <telerik:RadListBoxItem Text="Australia" /> 
            <telerik:RadListBoxItem Text="Brazil" /> 
            <telerik:RadListBoxItem Text="Canada" /> 
            <telerik:RadListBoxItem Text="Chile" /> 
            <telerik:RadListBoxItem Text="China" /> 
            <telerik:RadListBoxItem Text="Egypt" /> 
            <telerik:RadListBoxItem Text="England" /> 
            <telerik:RadListBoxItem Text="France" /> 
            <telerik:RadListBoxItem Text="Germany" /> 
            <telerik:RadListBoxItem Text="India" /> 
            <telerik:RadListBoxItem Text="Indonesia" /> 
            <telerik:RadListBoxItem Text="Kenya" /> 
            <telerik:RadListBoxItem Text="Mexico" /> 
            <telerik:RadListBoxItem Text="New Zealand" /> 
            <telerik:RadListBoxItem Text="South Africa" /> 
            <telerik:RadListBoxItem Text="USA" /> 
        </Items> 
    </telerik:RadListBox> 

The skin is applied on the listbox's items but not on the scrollbar. I have a Windows style on it.
I tested it on IE8 and Firefox 3.0.14 with Telerik 2.826.35 and ASP .NET : 2.0.50727.3082.

How can I have the right scrollbar style?


Paul
Telerik team
 answered on 22 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?