Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
74 views
I was looking into using content templates and the demo does not seem to be working. I am unable to collapse or expand items in FireFox 3.6.6 or IE8.
telerik demo

I am having the same result when implementing the code locally with the latest Telerik release: Telerik.Web.UI_2010_2_713_Dev_hotfix

Chris
Nikolay Tsenkov
Telerik team
 answered on 22 Jul 2010
1 answer
144 views
Hi,

I have one grid which contain MasterTableView and detailtableview.
I set FrozenColumnsCoun property in client settings.
It is work for MasterTableView only not for detailtableview.

Plz provide the suggestion ASAP.

Regards,
Parthesh
Pavlina
Telerik team
 answered on 22 Jul 2010
7 answers
217 views
Hi,

I am using the RadScheduler in a project, which populates using Web Services. Most of my web service functions accept a "schedulerInfo" parameter, which is very useful for dynamically selecting items to display.

Effectively on my client, I use:

function schedulerPopulating(sender, eventArgs) {
    var s = eventArgs.get_schedulerInfo();
    s.EngineerID = $("input[id$=_EngineerID]").val();
}

Which is triggered by the OnClientAppointmentsPopulating="schedulerPopulating" attribute of the RadScheduler.

Clearly I use this to pass the ID of my engineer so that he only sees his jobs on the screen.

The problem is, that although GetResources gets called, I can't work out how to pass my VisibleStart/VisibleEnd and EngineerID to the GetResources web service function. "OnClientResourcesPopulating" would appear to be appropriate, and when I have changed the population mode to Client, this does work, and I can pass my own variables, although other stuff doesn't work (grouping by resource).

How can I get this callback to work AND group by resources using a timeline view AND web services?

Alternatively, how can I get the Visible date range and my custom parameters to pass in to the getResources command? Can I hook the call in any other way?

Thanks in advance for your help.


Peter
Telerik team
 answered on 22 Jul 2010
1 answer
146 views
Hi,
I have created panel using below syntax <asp:Panel id="panel4" style="z-index:4;top:270px;left:270px;width:320px;height:200px;position:absolute;"  Enabled="True" CssClass="Panel" TabIndex="4" Visible="True" runat="server" ToolTip="" BackColor="" BorderStyle="NotSet" BorderWidth="0px">  <div style="clear:both"></div></asp:Panel> and added rounded corner extened control using <cc1:RoundedCornersExtender ID="RoundedCornersHeaderpanel4" Corners="All" runat="server" TargetControlID="panel4" BorderColor="Black" Enabled="True" Radius="10"></cc1:RoundedCornersExtender>

Issue: At run time   there is  a gap between border and corners.iam using doctype of this" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >"
if i changed the doc type to below "<!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" >" its working fine.

Is there any solution for this with out changing the doc type?
Advanced thanks for your help.



thanks,
Ravi.
Prangadj
Top achievements
Rank 1
 answered on 22 Jul 2010
1 answer
130 views
In my Web app, I use a RadTextBox to display a XML file.
This file could be modified, then saved by clicking on a button.

But, when I click somewhere else in a control that send an AJAX request, I receive this error :

Microsoft JScript runtime error: 'length' is null or not an object

I know that it is possible to disable page request valdiation, but I wonder If there is another way to do this (by code) ?

Thanks.
Maria Ilieva
Telerik team
 answered on 22 Jul 2010
2 answers
141 views
Hi,

How can I make change the width of the tab in TABStrip?  On the attached screen each tab "TAB 1", "TAB 2" and "TAB 3" look to big. Can it be resized? It would better if you could kindly let me know if it can be controlled by CSS.


Many thanks.
M G
FISCAL
Top achievements
Rank 1
 answered on 22 Jul 2010
1 answer
83 views
I am implementing loadondemand using a asmx webservice as a datasource.

I currently have a formview which is always in "Edit" mode. It has as it's datasource an objectdatasource which returns a single object. When I used declaritive databinding I had no problem have the selected value display the lookup value using databinding syntax on selectedvalue but now that it's using loadondemand it is always displaying an empty text on the radcombobox that is doing loadondemand and it also keeps an empty value. I need to figure out how to have this display the currently selected value here - just the single item in the list - and if the user clicks on the dropdown or erases the name or types over it with something else I need loadondemand functionality to kick in.

How do I do this? Does anyone have any ideas on how to approach the declaratively bound formview's currently selected text and value?

Thanks for any suggestions!
Kalina
Telerik team
 answered on 22 Jul 2010
1 answer
669 views
I have a DataGrid bound to a LinqDataSource and on my master table I have 3 DataKeys. One of these DataKeys is NULL for some of the rows in the grid. When I go to update a row in a popup form and submit the changes I get the dreaded "Object reference not set to an instance of an object" error (OriginalValueMatches is the last method in the stack trace).

Now if the grid doesn't contain any rows where that datakey is NULL, it works fine, alternatively if I remove that datakey it will also work fine. However it doesn't seem to matter if I'm updating a record where that field is NULL or not, it will still error should at least one row in the grid have a NULL datakey. The datakey corresponds with a GridDropDownColumn in the Grid (although it doesn't seem to matter if I have the Empty... attributes set or not or even if I remove this column totally from the grid)
<telerik:GridDropDownColumn DataSourceID="ldsBrand" DataField="BrandID" HeaderText="Brand Name" ListTextField="BrandName" ListValueField="BrandID" AllowFiltering="false" EnableEmptyListItem="true" EmptyListItemText="-- No Brand --" EmptyListItemValue="" ConvertEmptyStringToNull="true" EditFormColumnIndex="0" UniqueName="Brand" />

For the moment I've got around this problem with another database query to get the value when I need it, but would prefer to use DataKeys and would like to get to the bottom of this so I don't get stuck in the future. Is this a bug? Is there a workaround? Am I allowed to have a DataKey that is sometimes NULL?
Martin
Telerik team
 answered on 22 Jul 2010
1 answer
63 views
i have a rad scheduler with only one resource type defined which am using for grouping the data vertically when i put inside any of the asp.net formview templates (Item / Edit ) the scheduler doesnot work properly as it shows no appointments and the resources also not displayed (also if there's no data ,at least the list of group items should be displayed , for example if my groups are (room1,room2 and room3 , i should be able to see them on the scheduler if no data are avaliable from the data source) and it gives me a java script error "row.0.cells is null or not an object"  while if i put the scheduler in a stand alone page it works well without any problems

So ,it there something i miss .... or does the rad scheduler has something wrong with the formview ?
Peter
Telerik team
 answered on 22 Jul 2010
3 answers
253 views
Hi,

I have a RadGrid, and want to create a (dynamically) footnotes at the bottom of the radgrid based on data from database.
How can I do that?
Now It looks like below:


But, I want to look like see below:

Thanks,
Thaya
Maria Ilieva
Telerik team
 answered on 22 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?