Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
164 views
Hello!

I was trying to find some references searching the forums and google but I couldn't find anything related... Maybe I don't know exactly how to look up the information.

I'm using VS 2008 with a trial version of Telerik Ajax asp.net and I have two doubts.

I created a RadGrid in Popup mode for inserting the data through a custom template. So far so good. Regular text boxes insert the data correctly.

1. Inside the template I added a couple of RadTextBoxes and added an asp button to search addresses based on the ZIP code informed. When I run the search off the template window it works properly running the button onClick's method, but I can't access the function that inside the aspx.cs file from within the template stating that the textbox id couldn't be found. How can I access this function?

2. In the template I added a RadCombobox in order to read the data from a second table (get it populated properly) but I'd like to bind the selected value with the table's value when I update/insert.
The main table is my Client's table and the referred one is a status table.

The following code is inside the template:
                    <telerik:RadComboBox ID="RadComboBox1" Runat="server"  
                        DataSourceID="SituacaoAlunosDatasource"  
                        DataTextField="sts_titulo"  
                        DataValueField="sts_id"  
                        LoadingMessage="Carregando..." AppendDataBoundItems="true"  
                        SelectedValue='<%# Bind("eixxxx_sts_statusaluno") %>' > 
                    </telerik:RadComboBox> 

The error message says that the field "eixxxx_sts_statusaluno" can't have the property set... This field is related to the main table's field.

Thanks for the help

Ricardo


Johny
Top achievements
Rank 1
 answered on 14 Oct 2009
1 answer
89 views
Hi there,

I want to create a grid with 2 rows header. Please refer to the attached file.

I followed the following articles: 
http://www.telerik.com/help/aspnet-ajax/grdcustomizewithgridtemplatecolumn.html
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx

Somewhat I managed to create it. But somehow it's not presentable.
1. I couldn't remove the padding. How to remove the padding and the border for internal table.
2. I very much want to try this technique:
http://blogs.msdn.com/mattdotson/articles/541795.aspx
But after I managed to add the row header, I got an error message saying the row can't be handle by griditem.


Thanks.

Pavlina
Telerik team
 answered on 14 Oct 2009
4 answers
124 views
I have a name in ItemDataBound event I want to shorten.  When I do MyObj dataitem = (MyObj)e.Item.DataItem
dataitem.MyField = dataitem.Myfield.Substring(0,5) It does not save and it is not changed when I look at the grid. Maybe I am supposed to be doing this somewhere else (another grid event) or some other way.
Princy
Top achievements
Rank 2
 answered on 14 Oct 2009
1 answer
215 views
I've got a 2 level hierarchical grid and I need to set the formatting of certain rows in the child level. I've tried puttting the conditional formatting elements in the itemdatabound event for the overall grid and also in the detailtabledatabind. In each case it has a hard time finding the data element that sets the condition and I get a "cannot find a cell bound to column name..."

Is there an example of how to set the format of a child row based on a data element within that row?

For example if the child row has a data element called "Level" and if level for that row is "3" then the data element called "Name" would be orange...


thanks for any guidance you can give
Princy
Top achievements
Rank 2
 answered on 14 Oct 2009
2 answers
219 views
Hai Telerik Team,


                  I'm using radtooltipmanager to enlarge the picture that's binded in the grid as an item template. I'm using the Client event OnRowClick event to get the rowpositiion and from this using the OnRowMouseover of the grid is used to get the datakeyvalue of the row and from that i'm setting the image to zoom on the radtooltipmanager.

          My problem is that I need to get the datakeyvalue on the OnRowMouseover event itself. so that the image can be enlarged on row mouse over.


Please provide me a solution, its urgent
 

Unni
unnikkannan m
Top achievements
Rank 1
 answered on 14 Oct 2009
2 answers
130 views
Hi,

I am using RadTreeView Control. I want place folder image instead of '+' symbol. Input for RadTreeViewControl is through xml file. Where can I add the image and remove '+' symbol from tree structure?

I have visited this http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/xmlfile/defaultcs.aspx here .xml file is being referred, but file content has not been provided.
Can anybody please help me in this?

Regards,
Medac
Medac
Top achievements
Rank 1
 answered on 14 Oct 2009
2 answers
128 views
Hi there,
        I have created InlineInsertTemplate and InlineEditTemplate for the RadScheduler.  I have set the following properties on the Scheduler:

RadScheduler1.AdvancedForm.Enabled = false;
RadScheduler1.StartInsertingInAdvancedForm = false;
RadScheduler1.StartEditingInAdvancedForm = false;
RadScheduler1.MinimumInlineFormHeight = 30;
RadScheduler1.MinimumInlineFormWidth = 260;

When I double click on an empty date in the scheduler it pops up my InLineInsertTemplate looking perfect.
When I double click on an existing Appointment it pops up my InLineEditTemplate with the correct width but the Height is not right.  The top and bottom of the dialogue meet and you can't see the controls till you drag out the end.
Both the InLineInsertTemplate and InLineEditTemplate's are the same as far as controls and layout go.  The controls just have different IDs.

Is this happening to anyone else or just me?

How can I fix this?

Regards,

    Scott.
Scott Laughton
Top achievements
Rank 1
 answered on 14 Oct 2009
2 answers
83 views

Hiya,

 

Vs2008

Q2 2009 SP1

 

I have a dynamicData project.

When I was using an old radMenu, the project worked fine.

Now, with the new radMenu, I get an error.

 

Old rad menu:

oldRadMenu.DataSource = visibleTables; 
oldRadMenu.DataBind(); 
 

NEW radMenu:

q2RadMenu.DataSource = visibleTables; 
q2RadMenu.DataBind();  //Error:  
//Object of type System.Web.DynamicData.MetaTable does not have a TableName property. 
 

So, I have proved that the new menu errors when it is given the exact same dataSource as an old radMenu.

The aspx is the same for both:

<telerik:RadMenu ID="q2RadMenu" runat="server" DataTextField="TableName">   
</telerik:RadMenu> 
 
<radM:RadMenu ID="oldRadMenu" runat="server" DataTextField="TableName"
</radM:RadMenu> 
 

Please specify:

1)    why the new menu breaks

2)    What I need to do to fix it.

 

I previously took the time to ask Telerik whether radMenu would work as-is with Dynamic Data, and was informed that it would.

 

Thanks,

 

yogi

Chris Yoker
Top achievements
Rank 1
 answered on 13 Oct 2009
0 answers
79 views
hello
I am trying to determine how to embed my contextMenus inside my tools file.
I have looked at http://www.telerik.com/help/aspnet-ajax/usintthetoolsfile.html and http://www.telerik.com/support/kb/aspnet-ajax/editor/default-toolsfile-xml-file.aspx. Using the tools files seems to allude that you can embed the contextMenus into the tools menu... except it doesn't seem to work.
I have like this 

<?

 

xml version="1.0" encoding="utf-8" ?>

 

<

 

root>

 

-

<modules>

 

<

 

module name="RadEditorStatistics" dockingZone="Bottom" enabled="true" visible="true" />

 

<

 

module name="RadEditorDomInspector" dockingZone="Module" enabled="false" visible="false" />

 

<

 

module name="RadEditorNodeInspector" dockingZone="Module" enabled="false" visible="false" />

 

<

 

module name="RadEditorHtmlInspector" dockingZone="Module" enabled="false" visible="false" />

 

</

 

modules>

 

<

 

tools>

 

 

<

 

tool name="FindAndReplace" />

 

<

 

tool name="Undo" />

 

<

 

tool name="Redo" />

 

<

 

tool name="Cut" />

 

<

 

tool name="Copy" />

 

<

 

tool name="Paste" shortcut="CTRL+!"/>

 

<

 

tool name="InsertOrderedList" />

 

<

 

tool name="InsertUnorderedList" />

 

 

<

 

tool name="FormatStripper" />

 

<

 

tool name="PasteFromWordNoFontsNoSizes" />

 

 

 

 

<

tool separator="true"/>

 

 

<

 

tool separator="true"/>

 

<

 

tool name="FormatBlock" />

 

<

 

tool name="Bold" />

 

</

 

tools>

 

<

 

paragraphs>

 

<

 

paragraph name="Clear formatting" value="&lt;body&gt;" />

 

<

 

paragraph name="&lt;H3&gt;Heading 3&lt;/H3&gt;" value="&lt;H3&gt;" />

 

</

 

paragraphs>

 

<

 

contextMenus>

 

<

 

contextMenu forElement="IMG" enabled="true">

 

<

 

tool name="Paste" />

 

<

 

tool name="pastePlainText" />

 

</

 

contextMenu>

 

</

 

contextMenus>

 

</

 

root>

All I want if for my users to past plain text or paste only. Any thoughts would be appreciated.
mac

 

mac
Top achievements
Rank 1
 asked on 13 Oct 2009
4 answers
141 views
Hi,

I'm using Telerik.Web.UI library version 2009.2.826.35.On the page there are several UpdatePanels, Grids and Charts.
The problem is that I'm getting javascript error messages claiming that "'parentNode' is null or not an object", "'null' is null or not an object", etc. When trying to debug it opens up the Telerik.Web.UI.WebResource.axd and complains on the lines:
"var Q=Z.getClientRects();" or "var c=p.isVertical();"

Can you help with solving these issues?

Thanks,
Ruben.
rubenhak
Top achievements
Rank 1
 answered on 13 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?