Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
156 views
Is it possible to prevent the user from dragging and dropping text in an editor (and therefore changing the text)

The editor currently is not allowing the user to change text via typing, they highlight existing words and "highlight them" via a custom toolbar.

We don't want the user to be able to change the text, but because they are able to select words, and drag them to a new location in the document, they are able to change the text of the document.

We still want the user to be able to hightlight text in the document, we just don't want them to be able to move it to a new location in the document.
Michael Pullella
Top achievements
Rank 1
 answered on 04 Aug 2010
6 answers
219 views
Dear Telerik,

I would like how to make filtering the radgrid by using the controls which is outside grid.My form is subject to like a search template. So that i used FromDate and ToDate and State ComboBox controls. So i need to filter the grid based on what ever the values selected from those dropdowns. I used to bind the grid dynamically by using NeedDataSource event.

So please help me how to do (or) what are the areas we need to make the changes in order to achieve above

-Thanks
Pavlina
Telerik team
 answered on 04 Aug 2010
7 answers
161 views
Hi,
I am using custom file content provider. Now I'm being able to do all other things on the context menu except the copy/paste.
Copy is working but when I'm pasting the file it is throwing a java script exception 'gridItem' not defined. Now Your script resource generating the follow code
_onGridMenuItemClicked:function(f,k){var m=k.get_item().get_value(); 
var n,c; 
var i=this._gridContextMenuSelectedItem; 
if(i){n=i.get_dataItem(); 
c=this._getGridDataItemPath(n); 
}switch(m){case"Rename":var o=n.Name; 
var h=this.get_localization()["Rename"]; 
function e(p){if(p){this._renameGridItem(c,p); 
}}var d=this; 
var g=this.get_windowManager(); 
window.setTimeout(function(){g.radprompt(h,Function.createDelegate(d,e),330,100,null,h,o); 
},10); 
break; 
case"Delete":this.deleteSelectedItems(); 
break; 
case"Open":var j=this._findItemByPath(c); 
this.open(j); 
break; 
case"NewFolder":this.createNewDirectory(this.get_currentDirectory()); 
break; 
case"Upload":this._showUploadWindow(); 
break; 
case"Copy":this._copy("grid"); 
break; 
case"Paste":var l=this._findItemByPath(c); 
if(l==null||!l.isDirectory()){gridItem=this._getCurrentFolderItem(); 
}this._paste(gridItem); 
break; 
}this._gridContextMenuSelectedItem=null; 
} 
as in the paste section there is no way to get the gridItem if I'm pasting on a folder. Is it a bug or am i making some mistake.
Please let me know.
thanks
Arpan
Marco
Top achievements
Rank 1
 answered on 04 Aug 2010
6 answers
202 views
I really can't find it.
I want copy/past functionality in my 2009Q2 filebrowser.
security settings are correct.
I found out I can drag a folder to another folder, I suppose this is copying?
But when I do this, it says
Could not find a part of the path 'D:PicturesFoto'sFoto's Pa&MaFoto's Pa&Ma'.
It's removing the slashes, and I think it should do some urlencoding?

What am I missing? No one seemed to have asked this before, so it must be pretty simple right?

Do I need to add clientside functions? Is there an example?
Marco
Top achievements
Rank 1
 answered on 04 Aug 2010
1 answer
72 views
Hi Friends,

                    I have a dynamically created RadGrid in Page1.aspx.My problem is when i go to another page Page2.aspx
and then coming back to Page1.aspx ,i loss my dynamically created datas in RadGrid.I  use Page.Redirect method to navigate to an another page.Its possible to store DataTable of RadGrid in Session  ,but i have large amount of datas.So storing in Session is not the correct way i think...Is there any way to store or not lossing datas while redirection.plz help me out.

I have earlier posted this under Grid Forum,But no one replied.So Plz help me...

Regards Titti.
Pavlina
Telerik team
 answered on 04 Aug 2010
1 answer
89 views
Hi,
    A couple of questions regarding upgrading to Q2-2010...

    1) I noticed that for all the controls within RadPanelBar/RadPanelItem are inaccessible without writing code(for all controls) to drill down using FindControls especially if its nested.  Is there an easier way?  

    
    2) How do I implement this demo "http://demos.telerik.com/aspnet-ajax/window/examples/demoemail/defaultcs.aspx" without navigating to another url?  The radwindow has all the controls defined in the same aspx as the radgrid.

 

 

 

<ClientSettings Selecting-AllowRowSelect="true" EnableRowHoverStyle="true" EnablePostBackOnRowClick="true" >
<ClientEvents OnRowSelected="ShowMessage" />
</ClientSettings>

Thanks!

 

 

 

 

 

 

 

 

 

Georgi Tunev
Telerik team
 answered on 04 Aug 2010
3 answers
435 views
Okay, so by default it appears that the RadComboBox will select the all text within the textbox portion when it gets focus. Is there any way to prevent this, and or check if some text was pre-selected, such as just a single word of a sentence, so the full text selection does not happen? Currently selecting a single word and releasing the mouse button just re-selects all the text (which is quite annoying to our clients who want quick partial editing abilities (i.e. not having to retype a multi-word entry each time the want to change even a single character). 

Note: This appears  to happen even after the control already has focus, so this might be more of a click event.
Yana
Telerik team
 answered on 04 Aug 2010
7 answers
318 views

I  dynamically load user control as panelBar item. And with the RadAjax proxy in Manager_AjaxRequest I am trying to update Text box and a label on the user control. Text box gets updated but not a label. I have added both controls in Ajax request update controls Mark up.

Radoslav
Telerik team
 answered on 04 Aug 2010
2 answers
475 views
Hello Team,

I have searched over the forum to get the solution but the problem is quite different than what I found:

I have a template column of checkbox, and a button to submit the data bound to the checkboxes and need help to achieve the following:
1. Client side validation to check if any checkbox is selected or not upon clicking submit button.

2.  Get the list of all checkboxes and its values upon submit.

3. Persist the checked state of checked box upon paging or sorting.

I dont have clientsiderowselection but only checkbox to select the row.

Please provide pointers or sources.

PV
Top achievements
Rank 1
 answered on 04 Aug 2010
1 answer
70 views
Hi

Actually it is worked with the older version 2009. but when i migrated to q2 2010 . the toolbar problem i have solved.but i had a problem while intial loading . it doesnot call any client side events for treeview or grid.i need those events. what is the change i have to do.. please let me know as soon as possible. direct me to document section where i can find full information and scenarios on with new file explorer version

Thanks 
Dobromir
Telerik team
 answered on 04 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?