Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
298 views
I want to move selected rows from one radgrid to another. how can that be achieved with rad grid since the number of columns in the grid will change dynamically (the count is not fixed). 
Pavlina
Telerik team
 answered on 09 Jul 2010
1 answer
138 views
I've got a page on which the user can do a search and a grid is populated via ajax.  When the user clicks a link in one of the search results and sees that it is not where he wants to go, he clicks back, but the search results are gone.  Is there something that can be done to force the page to bring back the cached version of the page (assuming that the cached copy is how the page looked before clicking the link)?

We tried a solution that saved the search results in a cookie, but this caused the results to show up every time we went to the search page, not just when we click back.

Ultimately I just want the search grid to be populated when they click back, but not when they go to the page fresh.

Any way this is possible?
Tsvetina
Telerik team
 answered on 09 Jul 2010
1 answer
105 views
Check out the code below  
 
 
protected void MetadataRadGrid_ItemDataBound(object sender, GridItemEventArgs e)  
 
{  
 
if (e.Item is GridEditableItem && e.Item.IsInEditMode)  
 
{  
 
GridEditableItem gridEditableItem = (GridEditableItem)e.Item;  
 
GridEditManager gridEditManager = gridEditableItem.EditManager;  
 
ArrayList metadataTypeArrayList = new ArrayList();  
 
metadataTypeArrayList.Add("Boolean");  
 
metadataTypeArrayList.Add("Int");  
 
metadataTypeArrayList.Add("String");  
 
GridDropDownColumnEditor gridDropDownColumnEditor = (GridDropDownColumnEditor)gridEditManager.GetColumnEditor("MetadataType");  
 
gridDropDownColumnEditor.DataSource = metadataTypeArrayList;  
 
gridDropDownColumnEditor.DataBind();  
 
}  
 
}  
 
 
 
<telerik:GridDropDownColumn UniqueName="MetadataType" DataField="MetadataType" HeaderText="MetadataType"  SortExpression="MetadataType" > 
                      
                    </telerik:GridDropDownColumn>      
 





hi,

i am using GridDropDownColumn in radgrid and facing some problems

 

Firstly GridDropDownColumn is not displaying the datafield value.
I have defined datafield datatext properties of the GridDropDownColumn so that it can pick the values of RadGrid datasource and display it when ever the grid displaying the data in read mode.

 

 

I also have populated GridDropDownColumn if it is in editable state with a hashtable in ItemDataBound event  of RadGrid.Means it will only be populated with hashtable in edit mode or add mode.

How ever when i add a new record in the grid and press ok...it shows me all the data values in this GridDropDownColumn field.

 

 

 





Please tell me the solution of this problem

Secondly tell me the way how can i store some values in this GridDropDownColumn  in ItemCommand event when in edit mode.

Reply me ASAP.


 

 

 

Iana Tsolova
Telerik team
 answered on 09 Jul 2010
2 answers
161 views
In our home page, we have a div for toolbar, there are a couple of radtoolbars with many radtoolbarbuttons in them. simply e.g.

<div id="toolbar">
      ......

 

 

<div id="tbextra">

 

 

 

<telerik:radtoolbar id="OthersToolBar" runat="server" onclientbuttonclicked="otherbarClicked"

 

 

 

backcolor="#181437" forecolor="White"

 

 

 

onbuttonclick="OthersToolBar_ButtonClick">

 

 

 

<Items>

 

 

 

<telerik:RadToolBarButton runat="server" ImageUrl="~/Images/help_32.png"

 

 

 

PostBack="False" ImagePosition="AboveText" Text="Help" Value="HELP">

 

 

 

</telerik:RadToolBarButton>

 

 

 

<telerik:RadToolBarButton runat="server" ImageUrl="~/Images/logout_32.png"

 

 

 

PostBack="true" ImagePosition="AboveText" Text="Log Out" Value="LOGOUT"

 

 

 

CommandName="LOGOUT">

 

 

 

</telerik:RadToolBarButton>

 

 

 

<telerik:RadToolBarButton runat="server" ImageUrl="~/Images/cancel_all_32.png"

 

 

 

PostBack="False" ImagePosition="AboveText" Text="Cancel All" Value="CANCELALL">

 

 

 

</telerik:RadToolBarButton>

 

 

 

</Items>

 

 

 

</telerik:radtoolbar>

 

 

 

</div>

 

.........
</div>

 

 

<telerik:radwindowmanager id="WinMan" runat="server" showcontentduringload="False"

 

 

 

restrictionzoneid="surface" behavior="Default" initialbehavior="None" destroyonclose="True"

 

 

 

autosize="True" backcolor="#9900CC" bordercolor="#000066" borderstyle="Solid"

 

 

 

borderwidth="4px" font-names="Arial,Helvetica,Sans Serif" visibletitlebar="False"

 

 

 

onclientdragstart="WindowDragStart">

 

 

 

</telerik:radwindowmanager>

 



I set the javascript as following.

 

 

function WindowDragStart(oWin, args) {

 

 

 

var resizeExtender = oWin._resizeExtender;

 

resizeExtender.set_hideIframes(

 

false);

 

}



The problem is when I start to drag any opened radwindow to close to the <div id="toolbar"> in the home page. The each RadToolBarButton inside the <div id="toolbar"> change color.

Please advise what cause the color changed.

Thanks,

Yao
Fiko
Telerik team
 answered on 09 Jul 2010
5 answers
138 views
Is it possible to get the more normal "red underlining of mis-spelled words" within the textbox more or less as you type?  And then allowing right clicking on such a word to cause the dialog to appear instead of having a button to kick off spell checking?

Thanks,
Travis
Rumen
Telerik team
 answered on 09 Jul 2010
1 answer
136 views
Hi!

Is there a way to disable the keyboard support in the editor?

To be precise: I am fine with Ctrl+U and such but I wan´t Ctrl+S to be handled by my app, which it does unless the editor has focus.

Regards /David
Rumen
Telerik team
 answered on 09 Jul 2010
2 answers
539 views
hello, if can anyone help me when i have a radgrid that doesn' t have any record to display the message that i wrote it in No Records Templates doesn't appear instead an empty ruler appear.What is the problem?
elie
Top achievements
Rank 1
 answered on 09 Jul 2010
1 answer
53 views
I have a strange situation with my side show, working well in all browsers apart from IE 7 (which my client is using!).

In IE7 the first slide is positioned correctly but the every slide after that seems to jump by 30 pixels...

http://www.deer-park.co.uk/

I'm sure this is an easy fix, but i have been at for over 4 hours trying many different CSS hacks etc.

Thanks in advance.

Stephen



Fiko
Telerik team
 answered on 09 Jul 2010
2 answers
717 views
Hi there,

When using the confirm dialog box for deleting a record in a grid, is there anyway to make the default not set to "Okay"?  Can it be defaulted to Cancel?  Or possibly no default at all?

thank you,
Tad

<telerik:GridButtonColumn ConfirmText="Are you sure you want to delete this record?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" ConfirmDialogHeight="25px" CommandName="Delete" Text="Delete" UniqueName="Delete" HeaderStyle-Width="15px" ItemStyle-Width="15px"></telerik:GridButtonColumn>
TAD RHODES
Top achievements
Rank 1
 answered on 09 Jul 2010
4 answers
172 views
Hi,

I have a regular RadWindow Manager that contains one window.  I have it open via the javascript function below.  The window opens fine, however it will not overlay my Rad Menu on my master page.  It's really odd behavior and I can't figure out why the menu takes precedence over the modal.  I've attached a screen shot.

function ShowDialog() {
                var oWnd = window.radopen('ImageManager.aspx', "ImageManager");
                oWnd.setSize(1200, 555);
                oWnd.center();
                oWnd.SetTitle('Image Manager');
            }

Thank you,
Tad
TAD RHODES
Top achievements
Rank 1
 answered on 09 Jul 2010
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?