Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
167 views
Hi

I have recently applied the lastest Q3 2008 files and the time column suddenly became blank. Inspecting it with IE developer toolbar nothing was being rendered in the table for this. Additionally the heights of the TD's in the time column differened to those in the appointmenst grid and thus the alignment of the rows were out of sync. After some investigation I established that this must be due to the type of mode the HTML validation is set to ie Strict/Quirks. I am correct in assuming that the recent update to the rad controls now require pages to be set to strict mode? Mine is not set to strict mode for other reasons, is there any solution to this?

Also I would like just to make available the Month View and Timeline views on the scheduler is this possible. (Currently I can make just one of them available by setting the selected view to either of them and switching off the view tabs.)

Thanks

Gary
ipcalifornia
Top achievements
Rank 1
 answered on 30 Jan 2009
9 answers
292 views
I have several RadComboBoxes in a GridEditTemplate.  They are all very similar and all but one are working perfectly.  The last one on the page mysteriously resets itself after a short delay.  There are three list items in the combo, the first has a Values of "0", then "Key170-1" then "Key360-7"
the default should be setting to "0", but instead it is picking "Key170-1", but when I pick "Key360-7", as soon as the combo loses focus, it magically reverts back to "Key170-1".
I cannot find any code, client side or server side, Javascript, ASPX, nor code-behind that explains this behaviour, and it is only for this one combo out of 10 on the form. 
Please help!
Thanks,
Simon
Veselin Vasilev
Telerik team
 answered on 30 Jan 2009
4 answers
105 views

Hi,
I have a hierarchy situation where the child table is not getting data.

this gets the child data, but redisplays it for every mastertable record i expand.
<asp:LinqDataSource ID="LinqDataSource2" runat="server" ContextTypeName="iqLinqDataClassesDataContext"
TableName="WorkoutsDetails" AutoPage="true"
Select="new (wodMemberNo, wodWorkoutNo, wodWorkoutSeq, wodExerciseNo, wodComments)"
</asp:LinqDataSource> 

This gets the child data for each mastertable record as well.
<asp:LinqDataSource ID="LinqDataSource2" runat="server" ContextTypeName="iqLinqDataClassesDataContext"
TableName="WorkoutsDetails" AutoPage="true"
Select="new (wodMemberNo, wodWorkoutNo, wodWorkoutSeq, wodExerciseNo, wodComments)"
Where="wodMemberNo=2 && wodWorkoutNo=2" >
</asp:LinqDataSource>

This gets me an error message that says no child data.
<asp:LinqDataSource ID="LinqDataSource2" runat="server" ContextTypeName="iqLinqDataClassesDataContext"
TableName="WorkoutsDetails" AutoPage="true"
Select="new (wodMemberNo, wodWorkoutNo, wodWorkoutSeq, wodExerciseNo, wodComments)"
Where="wodMemberNo=@wrMemberNo && wodWorkoutNo=@wrNumber" >
<WhereParameters>
<asp:ControlParameter ControlID="RadGrid2" DefaultValue="0"
Name="wrMemberNo" Type="Int32" PropertyName="SelectedValue['wrMemberNo']" />
<asp:ControlParameter ControlID="RadGrid2" DefaultValue="0"
Name="wrNumber" Type="Int32" PropertyName="SelectedValue['wrNumber']" />
</WhereParameters>
</asp:LinqDataSource>

Because ( Where="wodMemberNo=2 && wodWorkoutNo=2" >) gets my child data, it gives me the impression that my Whereparameter and ControlParameter are not picking up the DataKeyNames in my mastertable. 

HERE IS MY RADGRID2 CODE:

<telerik:RadGrid ID="RadGrid2" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="LinqDataSource2" GridLines="None" ShowGroupPanel="True" Skin="Sunset" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowAutomaticDeletes="True" AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True"> <HeaderContextMenu EnableTheming="True" Skin="Sunset"> <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> </HeaderContextMenu>
<MasterTableView AutoGenerateColumns="False" CommandItemDisplay="TopAndBottom" DataKeyNames="wrMemberNo,wrNumber" DataSourceID="LinqDataSourceWorkOuts" OnSelectedIndexChanged="radchanged"> <RowIndicatorColumn HeaderText="rOW">
<HeaderStyle Width="20px"></HeaderStyle> </RowIndicatorColumn>
<ExpandCollapseColumn CommandName="lapse"> <HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridButtonColumn CommandName="Select" Text="Select" /> <telerik:GridBoundColumn DataField="wrMemberNo" DataType="System.Int32" HeaderText="wrMemberNo" SortExpression="wrMemberNo" UniqueName="wrMemberNo" ReadOnly="True">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="wrNumber" DataType="System.Int32" HeaderText="wrNumber"SortExpression="wrNumber" UniqueName="wrNumber" ReadOnly="True"> </telerik:GridBoundColumn>
<
telerik:GridBoundColumn DataField="wrWorkoutName" HeaderText="wrWorkoutName" SortExpression="wrWorkoutName" UniqueName="wrWorkoutName"> </telerik:GridBoundColumn>
<
telerik:GridBoundColumn DataField="wrWorkoutLocationNo" DataType="System.Int32" HeaderText="wrWorkoutLocationNo" SortExpression="wrWorkoutLocationNo" UniqueName="wrWorkoutLocationNo">
</
telerik:GridBoundColumn>
<
telerik:GridBoundColumn DataField="wrWorkoutDescription" HeaderText="wrWorkoutDescription"
SortExpression="wrWorkoutDescription" UniqueName="wrWorkoutDescription"> </telerik:GridBoundColumn>
<
telerik:GridBoundColumn DataField="wrWorkoutTypeNo" DataType="System.Int32" HeaderText="wrWorkoutTypeNo" SortExpression="wrWorkoutTypeNo" UniqueName="wrWorkoutTypeNo"> </telerik:GridBoundColumn>
<
telerik:GridBoundColumn DataField="wrDateCreated" DataType="System.DateTime" HeaderText="wrDateCreated"SortExpression="wrDateCreated" UniqueName="wrDateCreated"> </telerik:GridBoundColumn>
<
telerik:GridBoundColumn DataField="wrDateUpdated" DataType="System.DateTime" HeaderText="wrDateUpdated"SortExpression="wrDateUpdated" UniqueName="wrDateUpdated"> </telerik:GridBoundColumn>
</
Columns>
<
DetailTables>
<
telerik:GridTableView DataKeyNames="wodMemberNo,wodWorkoutNo" DataSourceID="LinqDataSource2" Width="100%" runat="server"> <ParentTableRelation>
<
telerik:GridRelationFields DetailKeyField="wodMemberNo,wodWorkoutNo" MasterKeyField="wrMemberNo,wrNumber" />
</ParentTableRelation>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn> <ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle> </ExpandCollapseColumn>
<Columns>
</Columns>
<
SortExpressions>
<telerik:GridSortExpression FieldName="wodWorkoutSeq"></telerik:GridSortExpression>
</
SortExpressions>
</telerik:GridTableView>
</DetailTables> </MasterTableView>
<ClientSettings AllowDragToGroup="True">
<Scrolling AllowScroll="True" UseStaticHeaders="True" /> </ClientSettings>
<FilterMenu EnableTheming="True" Skin="Sunset">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> </FilterMenu>
</telerik:RadGrid>

 

 

Thanks for your help.

Sebastian
Telerik team
 answered on 30 Jan 2009
1 answer
76 views
Dear all,

I'm in the middle of a discussion with the Telerik support: it seems that we cannot agree on the expected behavior for the RadGrid client side events in a particular case. I would like the community feedback regarding what should be the expected behavior.

The Problem:
When embedding an image on a RadGrid row (lets say I want to display a small icon along with a filename), and clicking on the image the client side event handlers assigned for OnRowClick/OnRowDblClick are NOT triggered. Also there are no event handlers assigned to the image. I reported this behavior as a bug but the the reply from support was "this behavior is by design" and they recommended me to write some custom handlers to handle this case.

My question to the community is: do you think that this behavior is what you would expect from the OnRowClick / OnRowDblClick event handlers or not? In my view the behavior is inconsistent and should be changed.

Do not post solutions, the issue is trivial to solve using jquery.

I do have a small project which exhibits the problem but I don't know how to attach it to a forum post.

Many thanks,
Radu
Rosen
Telerik team
 answered on 30 Jan 2009
1 answer
62 views
I've read through and see that the RadEditor should work fine on the 64-bit server, but I cannot get it working.  The feature was deployed successfully and activated as a features of the site, I can use it as a web part, but not within a list.

Is there somethinig special I have to do besides tweaking my config with medium and resetting IIS because I tried both of those already.

Thanks,
Sonia
Stanimir
Telerik team
 answered on 30 Jan 2009
1 answer
81 views
 

Hello,

Is that possible in the calender that when we select the muliple date in a month then in the calender control Header should show the Date Start  to Date End?
Example -:
Suppose i have Select the date from 26 Jan to 31 jan then in the Header it Should show the
 Jan,26th - Jan,31st
 just above the month.

Thanks and regards
Manoj

Princy
Top achievements
Rank 2
 answered on 30 Jan 2009
1 answer
123 views
Hi:

I have an application built using RadAjax controls.  However, a subgroup of regular clients still uses IE 6.0.29 (the one with the faulty javascript dll).  So, their browswer crashes all the time when they load ajaxified pages from my site.  The non-ajax pages work fine.

For reasons I won't get into, they will NOT be updating their web browser anytime soon. So, I'm wondering if, upon detecting the offending browser type and version (which I know how to do), to disable ALL the ajax features for that user - especially when the page has a RadGrid in it (which seems to be the #1 source for the crashes) using server-side script during page load.

If all ajax features are disabled, will the RadGrid, RadWindows, etc. still work (with postback instead of callback)?

Thanks.

Justin
Dimo
Telerik team
 answered on 30 Jan 2009
3 answers
170 views
Hello

Is it possible to change the filter on the client with a script ?

Actually, my Grid contains more than 300 records, and because they are all loaded on my page (there is no paging on my grid) it takes some time to display it.

When user wants to have a filter, I think that the  filtered records are send from the server again. So I'm thinking it will speeder to do this in client memory.

If you have a sample....

Thanks 
Sebastian
Telerik team
 answered on 30 Jan 2009
3 answers
475 views

Hi,

I've been struggling with the following problem for a couple of hours now;

basically I am creating windows dynamically using radopen, when the user wants to close one of these windows I want to show a confirmation asking them if they are sure if they want to close the window or not (if they click ok the window closes, if they click cancel the window stays).

I've put together the following scripts to try to achive this:

//this code taken from http://www.telerik.com/community/forums/aspnet-ajax/window/cancelling-close-request.aspx
Telerik.Web.UI.RadWindow.prototype.oldClose = Telerik.Web.UI.RadWindow.prototype.close;  //keep reference to old close method

Telerik.Web.UI.RadWindow.prototype.close = function(callBackFnArg) { //override the close window's close method

    ClosingWindow = callBackFnArg;

    if (radconfirm('Are you sure?', windowClosed, 330, 100)) //rad confirm is non blocking so the if doesn't get a chance to fire

    {

        var manager = GetRadWindowManager();

        this.oldClose(callBackFnArg); //this works fine

        this.oldClose(manager.getActiveWindow()); //this also works ok

    }

};

//call back function for the radconfirm
function windowClosed(arg)

{

    if (arg)

    {

        var manager = GetRadWindowManager();

        this.oldClose(manager.getActiveWindow()); //object doesn't support this method error

        Telerik.Web.UI.RadWindow.prototype.oldClose(manager.getActiveWindow()); //doesn't do anything

        manager.closeActiveWindow(); //can't use this as we have overriden the standard close functionality

        document.getElementById('<%=btnClose.ClientID%>').click();

    }

    else

    {

        //do nothing

    }

}

As you can see from above the only way I can get the window to close is if I call this.Close from within the overriden window close function, if I try to close the window from within the windowClosed function I either get an error (depending on which of the lines I execute) or nothing happens, I can't use the overriden window close function because the if will never fire (because the radconfirm prompt is non blocking).

If I replace the radconfirm with a regular javascript alert everything is fine but I'd like to use the radconfirm.

Any ideas?

Thanks.

Georgi Tunev
Telerik team
 answered on 30 Jan 2009
1 answer
83 views
Is it possible to put paging on commanditem of RadGrid. can anbody provide me a sample code. thanx .
Princy
Top achievements
Rank 2
 answered on 30 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?