Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
I have a gridDropDownBound column:
<telerik:GridDropDownColumn DataField="iCaptureType" HeaderText="iCaptureType" SortExpression="iCaptureType" 
                UniqueName="iCaptureType" DataType="System.Int32" DropDownControlType="DropDownList"
            </telerik:GridDropDownColumn> 

When enter to edit mode, I add it selectedindexchanged event:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
        { 
GridEditableItem editedItem = e.Item as GridEditableItem; 
                GridEditManager editMan = editedItem.EditManager; 
if (e.Item is GridEditableItem && e.Item.IsInEditMode) 
            { 
                editor_iCaptureTypeComboBoxControl.SelectedIndexChanged += new EventHandler(editor_iCaptureTypeComboBoxControl_SelectedIndexChanged); 
                editor_iCaptureTypeComboBoxControl.AutoPostBack = true
 
 
 
void editor_iCaptureTypeComboBoxControl_SelectedIndexChanged(object sender, EventArgs e) 
        { 
        . 
.} 
which is not fired when the user changes the selection (still in edit mode) - why?
Shinu
Top achievements
Rank 2
 answered on 16 Jan 2009
3 answers
238 views

How can I select a node in a RadTreeView programatically? I have tried the following, which gives me only half the result i want:

Dim myNode As RadTreeNode = RadTreeView1.FindNodeByText(myNodeText)  
myNode.Focus()  
 

Coldapoy
Top achievements
Rank 2
 answered on 16 Jan 2009
1 answer
146 views
we are using q3 and I want to use jquery. 
1- I do not understand if I need a reference to JQuery .js file  in the <script></script> block or just the telerik jquery .js file in RadManager ScriptReference
2- the documentations says instead of using $ you must you $telerik.$ but when I do that I get an error that it is not recognized. 

I am basing everything I say on this article
Serrin
Top achievements
Rank 1
 answered on 15 Jan 2009
2 answers
110 views
I'm seeing an issue with the editor, where I am editing content that has text inside <P> tags and I can't edit the text. This is because the paragraph has drag handles, and the cursor displays the 'move' icon. This is in IE 7.

We have switched to setting the NewLineBR property to true (was set to false to fix another issue) but some of our content is still wrapped with <P> tags. Is there a way to turn off this behavior?

I can send code/screenshot if you need more information.
Mark Davis
Top achievements
Rank 1
 answered on 15 Jan 2009
1 answer
162 views
I have this Rad TreeView that when you click on a Node it loads the Rad Editor with content.
Editor is hidden on first load of the page and doesn't get shown via RadProxyManager until you click a node.

Problem I'm having is, it seems if a user clicks on the node before the page is finished loading in the browser, it loads up the RadEditor and it doesn't load properly. I get a bullet list of the menu options, and it's all screwed up.

So I'm trying to disable the TreeView when the page loads and then enable it when the page is finished loading.

I tried to disable the treeview on ClientLoad, that's ok, but I can't enable it again on RadEditor Client Load, because the Editor doesn't get loaded until they click on the Treeview, so I'm stuck there.

I tried to manually disable the Div tag that makes up the TreeView on the page and then body onload enable it again, but that doesn't seem to work either.  It either disables or enables, doesn't do both it seems.

Any one have any suggestions?

Or even disable the whole page until it's done.
Fred
Top achievements
Rank 1
 answered on 15 Jan 2009
4 answers
114 views
I have an application where I would like to toggle the Enabled property of certain nodes depending on some user action with other controls.

It appears as though once the Enabled property of a RadTreeNode is set in server side code, it cannot be changed by another postback. 
Dan
Top achievements
Rank 2
 answered on 15 Jan 2009
0 answers
52 views
of course the index is from 0-10 and lets say
tab 0  text is number 1
tab 1 text is hello

so i want to sort a tab base on its text so in this case hello should be first then number 1 is second. can i do that ? thank you in advance.
appdev
Top achievements
Rank 1
 asked on 15 Jan 2009
3 answers
210 views
Hi Guys,

I am trying to export RadGrid data into ExcelML format but the resulting spreadsheet is always empty. If I set the format to HTML the data is all there but the HTML content I have in one of the fields is broken over a number of rows. Is there any reason why ExcelML isn't working?

Cheers

Peter


View File:

 

<telerik:radgrid ID="gvHotels" runat="server" OnNeedDataSource="gvHotels_NeedDataSource" GridLines="None" Skin="WebBlue" autogeneratecolumns="true" visible="true">

 

 

<MasterTableView DataKeyNames="HotelCode" CommandItemDisplay="None" currentresetpageindexaction="SetPageIndexToFirst" dir="LTR" frame="Border" tablelayout="Auto" allowsorting="True" showfooter="false">

 

 

<RowIndicatorColumn Visible="False" currentfilterfunction="NoFilter" filterlistoptions="VaryByDataType">

 

 

<HeaderStyle Width="20px" />

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn Visible="False" Resizable="False" currentfilterfunction="NoFilter" filterlistoptions="VaryByDataType">

 

 

<HeaderStyle Width="20px" />

 

 

</ExpandCollapseColumn>

 

 

<editformsettings>

 

 

<editcolumn currentfilterfunction="NoFilter" filterlistoptions="VaryByDataType">

 

 

</editcolumn>

 

 

</editformsettings>

 

 

<columns>

 

 

</columns>

 

 

</MasterTableView>

 

 

<exportsettings>

 

 

<pdf fonttype="Subset" papersize="Letter" />

 

 

<excel format="ExcelML" />

 

 

<csv columndelimiter="Comma" rowdelimiter="NewLine" />

 

 

</exportsettings>

 

 

</telerik:radgrid>

 




Code-Behind File:

 

protected void gvHotels_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

 

{

gvHotels.DataSource =

TraxExporter.GetHotels();

 

}

 

 

protected void cmdExportHotels_Click(object sender, EventArgs e)

 

{

gvHotels.ExportSettings.ExportOnlyData =

true;

 

gvHotels.ExportSettings.IgnorePaging =

true;

 

gvHotels.ExportSettings.OpenInNewWindow =

true;

 

gvHotels.MasterTableView.ExportToExcel();

}

Daniel
Telerik team
 answered on 15 Jan 2009
2 answers
134 views
Hello Community!

I'm using RadMenu scrolling feature (see Telerik Demo).

I wonder whether it is possible to control scrolling speed.
Does anybody know how to do it?

Thanks in advance.
 
BR, Laurent
lchesnais
Top achievements
Rank 1
 answered on 15 Jan 2009
2 answers
164 views
Hi,

Is there anyway to refresh the parent page from where the radwindow was called with the provided query string as shown below:

In RadWindow code-behind:

 

string url = "Default.aspx?IID=" + instance_ID + "&PID=" + proj_ID + "&View=" + view_ID;

 

 

InjectScript.Text =

"<script type='text/javascript'>CloseAndRedirect('"+url+"')</" + "script>";

In aspx page:

 

 

 

 

function

 

CloseAndRedirect(url)

 

 

{

    GetRadWindow().Close();

 

    GetRadWindow().BrowserWindow.location=

"url";

 

 

 

 

}

My code didn't work correctly, the browser prompted the page cannot be found. Can anyone try to help me out there?

Thanks in advance,
Richard

 

 

 

 

 

 

 

Fiko
Telerik team
 answered on 15 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?