Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
135 views
Hi
i want to select an item from a selected row but dont seem to understand any of the tutorials that are provided its an ASP.net RadGrid and i need to get the item from column 2 of the selected row
Kevin
Top achievements
Rank 1
 answered on 24 Jun 2009
2 answers
120 views
if i am calling a RadGrid1_SelectedIndexChanged is there a reason that if i am trying to populate a combo box that it wouldnt work?
i am calling a list and using that as a data source and data binding it to the combo box? i am also clearing the list at the start but the list is continuing to be populated when the call is finished.

 

Simon
Telerik team
 answered on 24 Jun 2009
1 answer
102 views
I haven't used the scheduler control before and before I invest time working with it, I wanted to know if I can use it to support this functionality. I want to create a view like the one in Outlook where you can see other people's free/time information. It's where you plan a meeting. So I want to create a web page where someone log in and enters their free and busy hours. Then I want to display an aggregate view of everyone's free/busy time on the same schedule so that from a bird's eye view, one can determine when to schedule an event. The view needs to display everyone time using some kind of visual element like a different color bar across hours and days where each color represents someone and there's a legend detailing what color is who.

Can the scheduler or a combination of controls support this? I know I can develop this from scratch if I want to but I was wondering if a Telerik control or a sample application already includes much of the needed functionality.

Thanks.
Peter
Telerik team
 answered on 24 Jun 2009
2 answers
118 views
I have added a PagerTemplate to my RadGrid.  In the template I have a Numeric Pager Control and a RadComboBox to hold the Page Size.  When I run the application and select a page number from the Numeric Pager Control, then strange characters appear in the RadComboBox.  The Telerik Rad grid Demo also does the same thing after select a couple of pages (http://demos.telerik.com/aspnet-ajax/grid/examples/programming/pagertemplate/defaultcs.aspx).  Is there a way to prevent the strange characters from showing in the combo box?  

 Sue
Susan
Top achievements
Rank 1
 answered on 24 Jun 2009
3 answers
145 views
I implemented Tree using Load on Demand concept using Web Services. It is working perfectly. But I would like to know the best way to expand the Tree Nodes automatically on click on a context menu. I have a context menu item called "Expand All" and when the User clicks on the item on a Node which has less number of children and sub children, it works fine. If he clicks on the top of the tree, I am getting an error "maximum limit reached".

Below is the code I am using:

private sub ExpandAll(Tnode as RadTreeNode)

If TNode.Nodes.Count = 0 Then _

 

 PopulateHierarchy(TNode)

 

 

RdTViewHierarchy.SelectedNode.ExpandChildNodes()

 

 

TNode.ExpandMode = TreeNodeExpandMode.ClientSide

 

 

TNode.Expanded = True

 

 

For Each TSubNode As RadTreeNode In TNode.Nodes

 

 

 ExpandSelectedNode(TSubNode)

 

 

Next

 

End Sub

 

 

Atanas Korchev
Telerik team
 answered on 24 Jun 2009
0 answers
149 views
<telerik:RadComboBox Width="150px" CssClass="ddlText" ID="UnionRadComboBox" runat="server" DataSourceID="dsUnionInfo" AppendDataBoundItems="true" DataTextField="Union_ID" DataValueField="Union_ID" Skin="Outlook" DropDownWidth="250px" SelectedValue='<%# Bind("Union_ID") %>' > 
<items>                                                       <telerik:RadComboBoxItem Text="" Value = "" runat="server" /> 
</items> 
<headertemplate> 
<table class="ddlText" style="width: 250px; text-align: left; line-height: 10px">  
<tr> 
  <td style="width: 100px;">  
     Union ID</td> 
  <td style="width: 150px;">  
     Description</td> 
</tr> 
</table> 
</headertemplate> 
<itemtemplate> 
<table class="ddlText" style="width: 250px; text-align: left; line-height: 10px">  
<tr> 
   <td style="width: 100px;">  
      <%#DataBinder.Eval(Container.DataItem, "Union_ID")%> 
   </td> 
   <td style="width: 150px;">  
      <%#DataBinder.Eval(Container.DataItem, "Union_Description")%> 
   </td> 
</tr> 
</table> 
</itemtemplate> 
</telerik:RadComboBox> 
I have a 2-column RadComboBox as defined above. My question is how to populate data for those 2 columns in the "ItemsRequested" method dynamiclly in the code-behind file? 

Thanks,
Hong

Hong
Top achievements
Rank 1
 asked on 24 Jun 2009
1 answer
165 views
I am using the fully featured RadEditor for MOSS - version 5.4.1.0.

When I use the editor in a WCM scenario the domain name of Urls are stripped. For example, http://mydomain.com/Pages/default.aspx becomes /Pages/default.aspx This is exactly what I want and what I would expect.

However, when I use the editor as a web part as described here

http://www.telerik.com/help/aspnet-ajax/using-radeditor-webpart.html

the Url's do not get stripped.

I am not using the Link manager, I am inserting Reusable Content and the reusable content html does not have absolute Url's in the source. The domain name gets attached once it is inserted in the web part. Typing an anchor tag in manually produces the same result - no stripping.

I have these properties set in my Config and ListConfig files.

<property name="StripAbsoluteImagesPaths">true</property>
<property name="StripAbsoluteAnchorPaths">true</property>

 Is there a way around this?

Thanks.
Stanimir
Telerik team
 answered on 24 Jun 2009
1 answer
138 views
I am trying to evaluate Rad Editor to see if it can be used to create an interface similar to what can be found at:

http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=126&combo=21921.85.39.13758%7c13758%2c13756%7c952%7c0&uei=9125&icparts=yes&ag=true&combo_id=72221&ssc=1&filter=9%3a10013%7c%7c1%2c11%3a10017%7c%7c1%2c3%3a10002%7c%7c1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2foversized-postcards%2fgallery.aspx%3fpg%3d2%26preid%3d4%26rd%3d2%26GP%3d6%252f19%252f2009%2b9%253a42%253a13%2bAM

The first difference I notice is that the example tool has the ability to add "text boxes" to the content. These are not HTML form textboxes, but are more like the sort textboxes one can add into office documents. They have visible "dotted line" borders which are used to define the box edges and are not actually part of the content. These borders can also be used to resize the box. I don't believe there is a built-in tool for this sort of textbox. Has anyone created anything like this, or are there any plans for Telerik to include this tool?

I took a look and this type of text box is "almost" like the standard htm fieldset (or group box as telerik calls it in the editor). The difference is that there is no legend and no border either. I wonder if there were a way to specify a dotted border when the group box is hovered over in "Edit Mode" nad not have this border appear in the Preview?
Tervel
Telerik team
 answered on 24 Jun 2009
3 answers
117 views
This is what I have set in my ConfigFIle.xml

<property name="DocumentsPaths">
   <item>/</item>
 </property>

This is what I have in my ToolsFile.xml

  <tool name="LinkManager" shortcut="CTRL+K" />

When I go to add a link and select the document icon, no folders appear and I see a "NOT FOUND" error. I then get an error saying that the list doesn not exist.

I have a screenshot if that helps.

Also, when adding hyerlinks by this method, will the links be added as relative. I have a scenario where I have the same application accessed on multiple Urls (Alternate Access Mappings) and links cannot include the domain name. If "site1" is my site collection name on a managed path then the link must be stored as /site1/web1/Pages/default.aspx NOT http://www.mydomain.com/site1/web1/Pages/default.aspx

Thanks.

Stanimir
Telerik team
 answered on 24 Jun 2009
5 answers
248 views
I've got a master page with an AjaxManager and have put an AjaxManagerProxy in my content page. I have a RadAjaxPanel which has a cmd button on it. I've gone into the RadAjaxManagerProxy settings and configured the controls that trigger actions and are affected.

At runtime I get the error shown below. Also at design time I am seeing warnings on the telerik.web.ui.ajaxsetting lines saying "Validation (XHTML 1.0 Transitional) Element 'telerik.web.ui.ajaxsetting' is not supported" for all items in the AjaxSettings section. (Although I never trust this stuff because I get various design times quirks thanks to the well-known issues between VS2008 and RadAjax Q109.

Any ideas what I am doing wrong?

Parser Error Message:
Telerik.Web.UI.AjaxSettingsCollection must have items of type 'Telerik.Web.UI.AjaxSetting'. 'telerik.web.ui.ajaxsetting' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.

Source Error:

Line 5:      <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
Line 6:          <AjaxSettings>
Line 7:              <telerik.web.ui.ajaxsetting ajaxcontrolid="RadAjaxPanel1"><updatedcontrols>
Line 8:  <telerik.web.ui.ajaxupdatedcontrol controlid="lstCurrency"></telerik.web.ui.ajaxupdatedcontrol>
Line 9:  <telerik.web.ui.ajaxupdatedcontrol controlid="txtAmount"></telerik.web.ui.ajaxupdatedcontrol>
Pavlina
Telerik team
 answered on 24 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?