Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
158 views
I am using two different types of Chart Series in my chart i.e. "Bar" and "Line". The auto generated legend gives the same shape for both these series items (Circle,Square etc.) at a time. Is it possible to have the legends of similar shape as that of the series that they represent instead of a predefined shape? For example , for a series of type "Bar", can we get a legend in shape of bar and for "Line"a legend in shape of a line?
Giuseppe
Telerik team
 answered on 04 Aug 2010
2 answers
91 views
Hello,

Code snipet given on the telerik site is not working. Can you please give the updated snipet ?

Existing code:
function ExpandItem()
{
   var panelbar = <%= RadPanelBar1.ClientID %>;
   var item = panelbar.FindItemByText(text);
   if (item)
   {
       item.Expand();
   }
   else
   {
       alert("Item with text '" + text + "' not found.");
   }
}

link:
http://www.telerik.com/help/aspnet/panelbar/panelbar_client-sideapi.html

Can you please update it ?

I could make a change for the firstline :
var panelbar = $find("<%= RadPanelBarUserInfo.ClientID %>");


But it failed for the second line:
var item = panelbar.FindItemByText("AccountInformation");
prayag ganoje
Top achievements
Rank 1
 answered on 04 Aug 2010
5 answers
862 views
Hi,

I have ASP.NET AJAX Q3 2009 SP2 controls installed on my computer, and they're integrated with VS 2008.
Recently I installed VS 2010 (in addition to VS 2008). Do I need to install a new version of your controls to use them in VS 2010 or can I somehow convince the existing version to work with both environments?

I have a project that uses ASP.NET AJAX Q3 2009 SP2. I would like to move the project to VS 2010, but keep the same version of AJAX controls.

Tank you,
Andreja
Erjan Gavalji
Telerik team
 answered on 04 Aug 2010
1 answer
123 views
hi guys
wanna bind header of TemplateField
<telerik:GridBoundColumn FilterControlWidth="80px" ShowSortIcon="true"
  Groupable="false" DataField="Title" SortExpression="Title" 
  ItemStyle-Width="23%" HeaderStyle-Width="23%" HeaderText="<%# getValue("Title") %>"
   ItemStyle-Font-Names="tahoma" ItemStyle-Font-Size="8"
    HeaderStyle-Font-Size="8" HeaderStyle-Font-Names="tahoma">
<HeaderStyle Font-Names="tahoma" Font-Size="8pt" Width="23%"></HeaderStyle>
<ItemStyle Font-Names="tahoma" Font-Size="8pt" Width="23%"></ItemStyle>
              </telerik:GridBoundColumn>
this code include error
how i can implement that?
Shinu
Top achievements
Rank 2
 answered on 04 Aug 2010
4 answers
119 views

Hi,

I would like to do have the almost the same functionality as This.  

 

But both of my Dialog.aspx and Calling Page (i.e. Default.aspx) uses Radgrid Edit Templates (i.e. MasterTableView EditMode="EditForms"). The data source from both pages are not the same. The value’s I would like to pass from Dialog.aspx are:  1) An Edit Template Text value and 2)  A RadGrid Dataitem calculated sum column (from footer).

 


Is it possible to pass these from Dialog.apsx into Default.aspx form’s  regular asp TextBox or RadText Box  (for #1) or Rad Numeric Text Box (for #2) ?  I am using RadControls for ASP.NET AJAX Q2 2010, Vstudio 2008 SP1.

 


Thanks

GC_0620

Georgi Tunev
Telerik team
 answered on 04 Aug 2010
3 answers
135 views
Hello.

I am using the LoadOnDemand feature for a RadTabStrip control.  Each PageView within the tabs contains a custom user control that encapsulates logic specific to the PageView.  When user presses the Save button that's inside on of the custom user controls it is supposed to change the enable/disable state of aout half the tabs within the tabstrip.

In the Page_PreRender event is where the enable/disable behaviors for the tabs are being changed.  However, when the page is rendered, the tabs have not changed.

How do I get the tabs enable/disable state to change using the LoadOnDemand model?  Do I have to handle it client-side?  If so, that could be tricky as the logic that's determining enable/disable state is a bit complex.

Thanks,
RezRaider
Yana
Telerik team
 answered on 04 Aug 2010
1 answer
161 views
Hi!! ppl , i have a javascript function that opens a wad window in which i am opening a new page which contains a RadGrid . On the Grid item Select i need to close the opened window with two parameters , just like the given below  from the Code behined.

<script type=\"text/javascript\">window.frameElement.commonModalDialogClose(1, '{0}');</script>
   (commonModalDialogClose does not work with radopen.... is it so)
 My Javascript function is given below :

 

 

function ShowSearchCustomerDialog() {

 

 

 

 

var wnd = radopen('/_layouts/G.Ga.SharePoint/SC.aspx');

 

 

 

var width = 800;

 

 

 

var height = 600;

 

 

 

var left = parseInt((screen.availWidth / 2) - (width / 2));

 

 

 

var top = parseInt((screen.availHeight / 2) - (height / 2));

 

wnd.setSize(width,height);

wnd.MoveTo(left,top);

 

 

}

Calling at :

 

<

 

 

div class="blok-head">

 

 

 

<h3 style="float:left;">

 

 

 

<asp:Label ID="businesspartnerLabel" runat="server" />

 

 

 

</h3>

 

 

 

<asp:PlaceHolder ID="selectCustomerPanel" runat="server">

 

 

 

<a class="select-customer" href="javascript:ShowSearchCustomerDialog();" title="Select customer">Select customer</a>

 

 

 

</asp:PlaceHolder>

 

 

 

</div>

 

Georgi Tunev
Telerik team
 answered on 04 Aug 2010
9 answers
235 views
I am  using a RadGrid and have its EditMode set to "Popup".  Within EditFormSettings.FormTemplate, I have the following control declared:

<

 

telerik:RadDatePicker ID="txtEffectiveDate" runat="server" Width="150px" SelectedDate='<%# Bind("EffectiveDate") %>'></telerik:RadDatePicker>

 


The bound property, "EffectiveDate", is of nullable type DateTime?

The grid is supporting Add and Edit mode.  When I edit an object whose EffectiveDate value is null, I don't have any issue.  However, when I go to Add a new item, I get the following issue:

Specified cast is not valid.

Any thoughts?

Thanks much!

Aaron
Pavlina
Telerik team
 answered on 04 Aug 2010
1 answer
121 views
I must be doing something wrong, but in a test application i can't get aany ocurrences out of a recurrencerule produced by the recurrenceeditor.

Screen shots attached.

John
T. Tsonev
Telerik team
 answered on 04 Aug 2010
1 answer
255 views
How to set the sort icon in Grid???
Shinu
Top achievements
Rank 2
 answered on 04 Aug 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?