Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
137 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
54 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
219 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
225 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
148 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
169 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
1 answer
83 views
I have an ajax manager that works correctly unless it times out.  Which is it process the request, the busy image comes up, then the rad grid updates. But if it times out, I get the busy image, then the grid remains the same.  I saw the the post to increase the time out.  but I want to know is how to handle it if it does time out.  So I can display a message or clear the grid so the user is not confused.
Cori
Top achievements
Rank 2
 answered on 02 May 2011
1 answer
92 views
Dear Telerik,

I attached a screenshot of the weird shrink behaviour. Seems like all the data moves up
to the right side for some unknown reason. (Yes the data is correctly inserted in the series)
Perhaps you guys have an idea what's causing this ?

Kind Regards,
Kristof

The chart is completely build in code:
-
//Define layout
BaseChart.AutoLayout = true;
BaseChart.AutoTextWrap = false;
BaseChart.Appearance.FillStyle.MainColor = Color.White;
BaseChart.PlotArea.Appearance.FillStyle.MainColor = Color.White;
BaseChart.PlotArea.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;

//Define XAxis
BaseChart.PlotArea.XAxis.AutoScale = false;
BaseChart.PlotArea.XAxis.AutoShrink = false;
BaseChart.PlotArea.XAxis.LayoutMode = Telerik.Charting.Styles.ChartAxisLayoutMode.Between;

//Define YAxis
BaseChart.PlotArea.YAxis.AutoScale = true;
BaseChart.PlotArea.YAxis.AxisLabel.TextBlock.Text = "";
BaseChart.PlotArea.YAxis.AxisLabel.Visible = true;

//Define ChartTitle
BaseChart.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft;
BaseChart.ChartTitle.TextBlock.Text = "";
BaseChart.ChartTitle.TextBlock.Visible = false;
 
 
// Rest is just adding normal series...
Kristof
Top achievements
Rank 1
 answered on 02 May 2011
5 answers
115 views
Hi,

We have a pplication that uses the RadScheduler to display appointments/Activities in the system. Now the appointments in the system allow to create daily recurring activity with options to occur every 1 ,2, 3 ...  days.

We also have implemeted the option of exporting the Scheduler Appointments in ICalendar format as shown in examples on this site.

However whenever there is a daily recurring appointment which occurs in an interval other than 1 (e.g. 2, 3)  the export finction crashes with following error.

"Cannot export appointments with daily recurrence and interval different than 1 in Outlook compatible mode."

I have tried the same in the examples shown on the site and they also crash whever i create a Dailly recurring activity with interval other than 1.

Please let us know how can this be fixed.

Thanks

Rajesh
Veronica
Telerik team
 answered on 02 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?