Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
64 views
I can't paste or cut in the Design view of an Editor Control when I'm using Firefox anymore, this func worked before but not after upgrading to Q1.

When using the keyboard to press CTRL+V or CTRL+X I get a javascipt alert telling me to use CTRL+V even though I am using CTR+V. I read on other forum posts that this has been an issue when pressing a toolbar button but I am seeing the behavior when using the keyboard directly. In Internet Exporer when using the keyboard to paste I'm getting a warning each time.

Is there a workaround to get pasting to work in Firefox at all (with the editor in design view). Right now I'm unable to do this at all. If I switch over to HTML view I can paste but not in design view. I set clipboard.autocopy to true in my Firefox preferences not really knowing what that does exactly and restarted but it didn't help.

Thanks,

bd
Rumen
Telerik team
 answered on 11 Jun 2009
5 answers
255 views
I am having an issue with the menu control ending up behind a Silverlight control. You can see it here

http://www.thelegendssouth.com/Elections/nominees.aspx

This only happens in FireFox, IE is fine.

Is there any resolution to this? Thanks.


Atanas Korchev
Telerik team
 answered on 11 Jun 2009
1 answer
126 views
Hi,

I am creating textboxes dynamically in a table. I want to bind the radcolorpicker with the textbox at the time of creation programatically in code behind with a pre-color(default color) set. On clicking the textbox the radcolorpicker should open.

Is this possible?

Thank you.
Tsvetie
Telerik team
 answered on 11 Jun 2009
1 answer
87 views
Not sure if this is possible but here is a client request.
We have a grid that uses in-line editing and it works ok.  Within the row however there are 2 comment fields.  The user wants a image button in the field for each comment to appear when the row goes into edit mode instead of the typical textboxes.  When the click the button the rich editor pops down.  When they close the rich editor, the rest of the row is still in edit mode.  Upon save, the value that was entered in the rich textbox is saved to that field.  The HTMLColumn is not exactly what they want because it makes the row's height increase too much with the editor within the edit row

Thanks in advanced
John
Veli
Telerik team
 answered on 11 Jun 2009
2 answers
105 views

I came across an interesting bug that I thought I would share with everyone just in case it is happening to them as well.

When you have saved a file from the editor, if you have a tag, a space and then some text (example below), when saved the 'Â' character appears. This seems to be because a   is missing and is rather replaced with the character code 160.


<td> Some text </td> 
 
shows as  
 
 Some text 


When you view the saved file in notepad/ word pad/ visual studio etc. you do not see the character. If you view it in a hex editor, you do.
A problem only arises if you open the saved HTML file, manipulate it and then resave it because then the character code is picked up and acted on (rendered).

Once I managed to track down the problem, the fix was really quite simple, simply:

1.     Encode the text to HTML
2.     Replace the offending character with a nbsp;
3.     Decode from HTML ready for saving or more manipulation.

string contentData = Server.HtmlEncode(this._RadEditor.Content);    
contentDatacontentDatacontentData = contentData.Replace("&#160;", "&amp;nbsp;");    
contentData = Server.HtmlDecode(contentData);   
 


I must stress that this bug only appears after you try and manipulate the document by loading it, manipulating it and resaving it (but it did happen on every machine that we tested it on). If you are viewing your saved documents straight off then this should not be a problem for you.

Tervel
Telerik team
 answered on 11 Jun 2009
3 answers
236 views
How to add a hyperlink control to the dropdownlist of form, checkbox, textbox ....
and the dialog for the hyperlink properties.
Especially how to trigger the selection window of images for the imageurl property.

Background: I want to insert a hyperlink with an image to the text. Maybe someone
here has another solution.
Rumen
Telerik team
 answered on 11 Jun 2009
1 answer
154 views
hi

i have set the session timeout of 1 Minute.  and i was typing a text in rad editor ( version Q1 2007)   after 1 minute  it

goes to log in page. Editor is not considering a typing activity. can you tell me the solution ASAP.

i tried for the  asp.net text box control. it doesn't happened with that.







Rumen
Telerik team
 answered on 11 Jun 2009
1 answer
54 views

I have a Telerik Editor in my application which has only the SpellCheck module enabled. If I type a few lines of text in the editor with line breaks and invoke the spellcheck, it runs in to an infinite loop. For example if I type the following text:


This is a test for the editor.

This is the second test.

Not sure what will happen.

Please advise.

Thanks!

Ramjee
Rumen
Telerik team
 answered on 11 Jun 2009
1 answer
125 views
Hi,

I have a radgrid with master-child relationship.
When i click on a button, i need to loop thru the grid and get the parent items first and then its related child items.

foreach

 

(GridDataItem dataItem in uiProtectionGroupProductsGrid.Items)

 

{

 

        if (dataItem.OwnerTableView.Name != "childtablename")

 

         {

            obj =

new ProtectionGroupProductsDto();

 

            protectionGroupProductsDto.Id =

Convert.ToInt32(dataItem["Id"].Text);

 

            protectionGroupProductsDto.name =

Convert.ToString(dataItem["name"].Text);

 

            protectionGroupProductsDto.age=

Convert.ToInt32(dataItem["age"].Text);

 

 

            
            //HERE I WANT TO LOOP THE Child table of the above parent item

 

}

 

 

}

Does anyone have any idea on this?

Regards

Sujith

Pavlina
Telerik team
 answered on 11 Jun 2009
1 answer
313 views
I am trying to render an HTML page into a local variable (basically just creating a new System.Web.UI.Page object) (See http://aspnet.4guysfromrolla.com/articles/122006-1.aspx), and then adding the Grid control to this page. When I call the System.Web.UI.Page.RenderControl, it throws an exception 'Request is not available in this context', only when the Grid control is inserted into the page.
I guess the grid control is expecting the Request object to be valid (which technically it is not in this case). Other controls work fine ... just not the Grid control. Is there any reason the grid control would not supported being rendered like this?
Thanks,
Jay
Veli
Telerik team
 answered on 11 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?