Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
186 views
Hi,
 Can you give me the solution or article to using the StripAbsoluteAnchorPaths and also the image property please? I've done a search on the forums and it's not easy to find the latest information on how this should be configured within the full featured rad editor - or whether it should be the one solution I've found which talks about editing the MOSSEditorTools.js file - which I've tried and haven't seen work at the moment either...

Thanks,
Jason.
Richelle Dubif
Top achievements
Rank 1
 answered on 22 Jun 2010
1 answer
110 views
I'm using RadUpload and since this is the first time I'm using this control I was confused about the uploading process itself.  The GUI part of the control displays the path on my local machine to the file that I want to upload after I click the 'Browse' button.  But how do I get the file itself?  Does the control save the file as a filestream in a particular property that I can inturn pass into some function?

J
Genady Sergeev
Telerik team
 answered on 22 Jun 2010
0 answers
91 views
Is there anyway to access the RadGrid Property Builder, etc without using the designer?  We are using a few nested master pages and the VS designer has a lot of trouble rendering them.

Else the online documentation seems to use the designer heavily, are there docs that I am just missing that are helpful in setting up the control with ASPX/HTML code?

Update: I can't find a way to remove this, but just after I posted it I figured out that the examples (like this for example: http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx)  show the aspx style code in them.  I was looking in the wrong spot.

Thanks,

Matt
Matt
Top achievements
Rank 1
 asked on 22 Jun 2010
1 answer
132 views
Hello,

I have  a very simple problem but not able to find a proper solution.

I want to use Radwindow control to show an error message (let us say an error page, as  radwindow does not allow you to write your cutom text). I have inserted the Radwindow control on the page, when the page loads it shows me the RadWindow control with the page loaded inside it (url that I passed to it) and I can close the window.

Now if I move from my main page to a different page and then using the browser back button come to this page the RadWindow appears again there. Same thing happens with RadDock and all other popup message, part of RadWindowManager like RadConfirm, RadAlert etc..

I want RadWindow to behave some thing like this: when the page first time loads then show the RadWindow and once the user has clicked on the close button then the RadWindow no longer remain a part of the page unless the page is requested again from the server itself.

Thanks for your help.
Sky
Georgi Tunev
Telerik team
 answered on 22 Jun 2010
2 answers
141 views

When the user clicks edit on a line and it pops up my FormTemplate, I want to set the tooltip on a textbox, based on its value. In the ItemCreated event, I have the following...

If (TypeOf e.Item Is GridEditFormItem) AndAlso (e.Item.IsInEditMode) Then    
    Dim item As GridEditFormItem = CType(e.Item, GridEditFormItem)     
    Dim txtID As RadTextBox = CType(item.FindControl("txtID"), RadTextBox)     
    txtID.ToolTip = LookUpDesc(txtID.Text)    
End If 

The LookUpDesc function queries our DB to find the value. It would work, but txtID.Text has no value in this event, even though it does once the FormTemplate is up. Is there a different event I should use where txtID.Text would evaluate to the value? Or how can I make this work?
Jeremy Yoder
Top achievements
Rank 1
 answered on 22 Jun 2010
1 answer
111 views
Hi ,

I have binded the dropdown as  in Add mode ,
<telerik:RadComboBox ID="radCombStatusReason" Skin="Sunset" MaxHeight="150px" runat="server"
  Width="205px" CssClass="ComboBox" OnClientSelectedIndexChanged="onComboSetDirty"                                                                    
   EnableLoadOnDemand="false" Filter="StartsWith"   EnableVirtualScrolling="false"  EmptyMessage="Type here..." ShowMoreResultsBox="false" ShowWhileLoading="false"  >
   <WebServiceSettings  Path="../../Services/ComboBoxServices.svc" Method="LoadSalesStatusReason" />
          </telerik:RadComboBox>

Since page load is taking time so i need to do this onload only once .

But when i come in Edit mode on same page i m using i need to set value to combo.

So how should i bind value from clientSide before setting that value in edit mode.
And i need the combo in such a way that it should behave like normal combo.

Thanks 


Simon
Telerik team
 answered on 22 Jun 2010
1 answer
51 views
(1) I have created a web part. 
(2)I am loading XML file in the web part and dynammically rendering controls on web part.
(3)But when i use the RadComboBox i am unable to click on the drop down arrow.
I have dynamically Created a Div Control
To this Div Control  I have added the RadComboBox Control.
Then i add the div control to the  RadPanelItem.
And  RadPanelItem to the RadPanelbar .
And then finally i am adding this to the Web Part Object.

Regards
Nelson Marian
Simon
Telerik team
 answered on 22 Jun 2010
2 answers
154 views

Hi,
I am having issue with Telerik Radgrid when placed with in asp:Loginview control.

The  grid has Radmenu items as template column. Grid is ajaxified using RadAjaxManager. Grid allows sorting.

The  problem is, when I sort a column, the radmenu items do not show.
If I don't place the grid in Loginview, everything works fine.

I would apperciate help on this.

Thanks,
Manisha
Here is the code...

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadGridTesting.aspx.cs" Inherits="RadGridTesting"%> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
 
<head runat="server">  
<title></title>  
</head> 
<body> 
<form id="form1" runat="server">  
<asp:ScriptManager ID="ScriptManager1" runat="server">  
</asp:ScriptManager> 
<br /> 
<asp:LoginView ID="LoginView1" runat="server">  
<LoggedInTemplate> 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true">  
<AjaxSettings> 
<telerik:AjaxSetting AjaxControlID="rgCustomers">  
<UpdatedControls> 
<telerik:AjaxUpdatedControl ControlID="rgCustomers" LoadingPanelID="rlpDefault" /> 
</UpdatedControls> 
</telerik:AjaxSetting> 
</AjaxSettings> 
</telerik:RadAjaxManager> 
<telerik:RadAjaxLoadingPanel ID="rlpDefault" runat="server" Skin="Web20" /> 
<telerik:RadGrid ID="rgCustomers" runat="server" Width="100%" AutoGenerateColumns="false" 
Skin="Web20" DataSourceID ="SqlDSCustomers" 
AllowPaging="true" PageSize="10" PagerStyle-AlwaysVisible="false" PagerStyle-Position="TopAndBottom" 
PagerStyle-Mode="NextPrevAndNumeric" AllowSorting="true" AllowMultiRowSelection="true" 
OnItemDataBound="rgCustomers_ItemDataBound" OnNeedDataSource="rgCustomers_NeedDataSource">  
<MasterTableView Width="100%" GridLines="Both" DataKeyNames="CustomerID">  
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
<Columns> 
<telerik:GridTemplateColumn HeaderText="PD Action" Visible="true" HeaderStyle-Width="55px" ItemStyle-Width="55px">  
<ItemTemplate> 
<telerik:RadMenu ID="rmPDAction" runat="server" ItemClick="rmPDAction_ItemClick">  
<Items> 
<telerik:RadMenuItem ImageUrl="~/App_Themes/Images/RAD/Menu/down.png" Width="30px" Height="24px">  
<Items> 
<telerik:RadMenuItem Text="View" Value="View" /> 
<telerik:RadMenuItem Text="Edit" Value="Edit" /> 
<telerik:RadMenuItem Text="Continue Edit" Value="ContinueEdit" /> 
<telerik:RadMenuItem Text="Finish Edit" Value="FinishEdit" /> 
</Items> 
</telerik:RadMenuItem> 
</Items> 
</telerik:RadMenu> 
</ItemTemplate> 
</telerik:GridTemplateColumn> 
<telerik:GridBoundColumn DataField ="CustomerID" HeaderText ="ID" UniqueName ="CustomerID" DataType="System.Int32" AllowSorting="true" SortExpression="CustomerID" ></telerik:GridBoundColumn> 
<telerik:GridBoundColumn HeaderText ="First Name" DataField ="FirstName" UniqueName ="FirstName" DataType="System.String" AllowSorting="true" SortExpression="FirstName"></telerik:GridBoundColumn> 
</Columns> 
</MasterTableView> 
</telerik:RadGrid> 
<asp:SqlDataSource ID="SqlDSCustomers" runat="server"   
ConnectionString="<%$ ConnectionStrings:AdventureWorksLT2008R2cnn %>"   
SelectCommand="SELECT [CustomerID], [FirstName], [LastName], [CompanyName], [EmailAddress], [Phone] FROM [vw_Customers]"></asp:SqlDataSource> </LoggedInTemplate> 
<AnonymousTemplate> 
<asp:Literal ID="litLoginMsg" runat="server" Text="Please login"></asp:Literal> 
</AnonymousTemplate> 
</asp:LoginView> 
 
</form> 
 
</body> 
 
</html> 
 
 
 
 
 

Pavlina
Telerik team
 answered on 22 Jun 2010
3 answers
95 views
This is crazy. Whenever the editor loads, extra spaces appear. Switching from Design to HTML then back to Design adds 1 more set of <p> tags:

</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="content4">
<table cellspacing="0" cellpadding="5" width="620">

If I delete them via the Design view or HTML they just come back. This is occuring a few different places in this page, and is occurring in others. Please help!!
Delphi
Top achievements
Rank 1
 answered on 22 Jun 2010
1 answer
323 views
Hello,

I have a RadChart that I am rendering on page load. At regular intervals (5-10 seconds for example), I want to "refresh" the data contents of the chart. I am currently using a RadAjaxManager instance, and am using ajaxManager.ajaxRequest to initiate the callback request.

This works fine, but has one very visual drawback... the chart basically "blinks" during every refresh. (I can add a loading panel, but this in and of itself doesn't work very well for items that are constantly being refreshed at regular intervals).

Does anyone know of a way to prevent this? (The grid control for example does not "flash" or "blink" upon a rad ajax postback). Is there a way to "trick it by having two charts and only making the refreshed one visible after the callback is finished / basically swapping them in and out (pretty hacky, I know, but I have a lot of time invested in making this chart work!!!). 

Thanks in advance!
-Brian
Ves
Telerik team
 answered on 22 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?