Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
153 views
Hi;
We are using RADLIST box we have an unusal requirement after everyword inside the listbox there has to be some white spaces in betwwen the word for example "Hello                                                                         World".
but when I give this inside the listbox the spaces get truncated to "Hello World".
Can you please tell me that how can I acihve this functionality as it is very urgent for me.
please let me know ASAP.
Dimitar Terziev
Telerik team
 answered on 02 May 2011
1 answer
81 views

Hi,

Is it possible to make the cursor inside the editor to look bigger? if i change the fonts inside the editor will it be ok?

I am asking because it's for some one with eye problems.


Regards,
Eleni
Rumen
Telerik team
 answered on 02 May 2011
1 answer
49 views
hello,

I have a raddcok dynamically created. I load Usercontrol in that. I put raddock height as auto hence it takes height of usercontrol.

I observed there is some space left at the bottom of raddcock after loading usercontrol. Please see attached image. I tried to use CSS to remove that but didnt helped.

Can you suggest better way to remove that ?
.RadDock
    {
        height: auto;
        margin: 0px 0px 9px 0px;
        padding-bottom:0px !important;
        border-bottom-width:0px;  
    }
Pero
Telerik team
 answered on 02 May 2011
2 answers
136 views
Hello,

I have raddcocks in the raddock layout. I out three table columns and three raddock zones inside these three columns.

I create a raddcock dynamically and load in the raddcock zone. I observed that there is margin left between table left, top right border and raddock. Please see the attached image. I tried to use the css properties but it didnt help.

Can you please suggest good way to remove unwanted margins ?

PN:- I want to set margin to 9px at left, top and right.
Pero
Telerik team
 answered on 02 May 2011
1 answer
52 views
Hello

No matter what i change in the EditModes i always see only the Deisgn and HTML mode.. I never see Preview mode whatever i try.

this is our RadEditor code:
<telerik:RadEditor ID="editEditor" runat="server" Width="100%" Height="650px" ToolsWidth="100%" StripFormattingOnPaste="MSWordNoFonts"
            OnClientCommandExecuting="OnClientCommandExecuting" EnableEmbeddedSkins="true" EditModes="All"
            EnableResize="False" Skin="Web20" OnClientLoad="onEditorLoad" meta:resourcekey="editEditorResource1">

As you can see EditModes is set to "All" but no matter what i change it i always see HTML and Design tabs in bottom of the RadEditor.

Why does this happen?

Rumen
Telerik team
 answered on 02 May 2011
4 answers
213 views

UPDATE: I was able to get the value of column, but I have another question:

I have the following, how do I open up a link to a new window without getting the "sys.webforms.pagerequestmanagerparsererrorexception: the message received from the server could not be parted" error?  I'm trying to assign a http link.

 

 

protected void gridAdmiral_ItemCommand(object source, GridCommandEventArgs e)

 

 

{

 

 

 

if (e.CommandName == "Open")

 

 

{

 

 

 

 

    string id = ((GridDataItem)e.Item).GetDataKeyValue("ID").ToString();

 

 

 

 

    string url = GetOpenLink(id);

 

 

    Response.Write(

 

"<script>");

 

 

    Response.Write(

 

"window.open('" + url + "','_blank')");

 

 

    Response.Write(

 

"</script>");

 

 

}

 

}

Pavlina
Telerik team
 answered on 02 May 2011
3 answers
222 views
Hello

My RadGrid is based on following demo.
http://demos.telerik.com/aspnet-ajax/grid/examples/client/insertupdatedelete/defaultcs.aspx
There is no server side events or server side bindings.

It is functional but i want to do following things

  • I have template columns with edit, delete and other link. When i insert a new row and rebind and repaint on client side the links are not rendered for newly inserted row.
  • Enable row selection Edit link click that is a template column inside grid

   and disable row selection on row click

For all above if i get row object than i can work with it.

I am doing following thing. That works but how to disable row selection? I have onrowselecting event and there i check for eventargs dom to cancel for td but it is throwing an error in the event when i select from below. is there an efficient way?

 

 

 

 

 

And in function i have following code

<telerik:GridTemplateColumn
<ItemTemplate>  
  
 <a href="#" onclick="EditPersonClick('<%#DataBinder.Eval(Container.DataItem, "PersonId")%> 
  
','Person');return false;"> 
Edit
</a
 </ItemTemplate
  
 </telerik:GridTemplateColumn>

 

 

 

function EditPersonClick(personId) { 
var grid = $find(Person_GridFollowUp); 
var masterTable = grid.get_masterTableView(); 
var dataItems = masterTable.get_dataItems(); 
if (dataItems!=null && dataItems.length > 0) { 
for (var i = 0; i < dataItems.length; i++) { 
  
var dbPersonId= dataItems[i].getDataKeyValue("PersonId" 
  
); // primary key 
if (dbPersonId== personId) { 
var row = dataItems[i]; 
row.set_selected(true); 
return
}}}}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pavlina
Telerik team
 answered on 02 May 2011
2 answers
143 views
Hi all,

I'm trying to disable a listview on the client side and have been unable to do so even if I do the following:

document.getElementById(

 

'<%=Listview.ClientID %>').disabled = true

I can disable it server side but would rather client side disable it.

Thanks...

 

Jim
Top achievements
Rank 1
 answered on 02 May 2011
1 answer
175 views
Hello

We are using RadEditor and ImageManager to insert images into it...
What we need and could not find the option is to automatically add image width and height tags in the "<img" tag. (After pressing "insert" in Image Manger to add the image to RadEditor)

thank you,
Dror
Rumen
Telerik team
 answered on 02 May 2011
6 answers
164 views
Hi,

I upgraded my radcontrols from lowest version to the latest and this problem occurs. I only put my telerik dll to bin folder and add reference to it.

Any fix for this?
Rumen
Telerik team
 answered on 02 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?