Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
159 views
So I have a RadScheduler binded to an SQLDataSource which is working correctly.  I then dropped in a RadToolTipManager which I want to onappointment click to show the tooltip.  This is working correctly.  It is showing me whatever is in the appointment boxes on the RadScheduler as well...  Here is my question...

How can I make the text within the tooltip custom?  I want to show a lot more detailed information of the appointment. 

You help is appreciated.


Alex Flores
Peter
Telerik team
 answered on 17 Aug 2009
3 answers
108 views
I like the way there is an arrow on the date and time fields in the standard insert and edit templates. How do I do this for if I am using an advanced tempalte. I can make the showpopuponfocus=true but I don't see how to put an arrow in the field.
Peter
Telerik team
 answered on 17 Aug 2009
1 answer
63 views
I use the old JavaScript method to confirm that a user really wants to leave my page.  Does Telerik provide any solution for this with more options?

Thanks!
Vlad
Telerik team
 answered on 17 Aug 2009
13 answers
294 views
Does the rad combobox offer support for multiple selections using check boxes? If so, is there a demo/example of this out there?

Thank You.
Chanan Zass
Top achievements
Rank 1
 answered on 17 Aug 2009
1 answer
147 views
Hi all,
I am having a radcombobox with some items at loading time , and  i need  to add another  new item into the combobox at the same time into the database also. Is there any additional property of radcombox to  achieve this?? If anyone knows please answer ..

thanks in advance
lekha
Princy
Top achievements
Rank 2
 answered on 17 Aug 2009
1 answer
61 views
In Raddatatime picker if i did't set min date, and entered date as 00/00/00 and click tab, it is automatically changing to 12/31/1998
how to avoid this please help on this.
Shinu
Top achievements
Rank 2
 answered on 17 Aug 2009
1 answer
165 views
I'm starting out with the radgrid and I'm having trouble setting up a master/detail relationship with the radgrid. I have the basic setup working, but when i select a master record in the grid, the child record says "no child rows found". I'm not sure how the grid determines how to pass the "GoalId" select parameter to the detailsview. I notice some samples use a base select parameter field and others use a session parameter field. How is this setup and determined? I have the following code. The e.selectparameters is always showing up as null in the code when i break into it.

Any advice?

onselecting event for datasource:

 

protected void ActivitiesData_Selecting(object sender, LinqDataSourceSelectEventArgs e)

 

{

 

DevelopmentPlanRepository dvp = new DevelopmentPlanRepository(Conn);

 

e.Result = dvp.GetActivitiesForGoal(

Convert.ToInt32(e.SelectParameters["GoalId"]));

 

}




<

 

telerik:RadGrid ID="DevelopmentGoalGrid" runat="server" AllowPaging="True"

 

 

AllowSorting="True" DataSourceID="GoalsData" GridLines="None">

 

<

 

MasterTableView DataKeyNames="GoalId" DataSourceID="GoalsData">

 

 

<DetailTables>

 

 

<telerik:GridTableView DataKeyNames="ActivityID" DataSourceID="ActivitiesData" Width="100%"

 

 

runat="server" AutoGenerateColumns="true">

 

 

<ParentTableRelation>

 

 

<telerik:GridRelationFields DetailKeyField="GoalId" MasterKeyField="GoalId" />

 

 

</ParentTableRelation>

 

 

<RowIndicatorColumn>

 

 

<HeaderStyle Width="20px" />

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn>

 

 

<HeaderStyle Width="20px" />

 

 

</ExpandCollapseColumn>

 

 

</telerik:GridTableView>

 

 

</DetailTables>

 

<

 

RowIndicatorColumn>

 

<

 

HeaderStyle Width="20px"></HeaderStyle>

 

</

 

RowIndicatorColumn>

 

<

 

ExpandCollapseColumn Visible="True">

 

<

 

HeaderStyle Width="20px"></HeaderStyle>

 

</

 

ExpandCollapseColumn>

 

</

 

MasterTableView>

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

</

 

telerik:RadGrid>

 

<

 

p>

 

 

&nbsp;</p>

 

<

 

p>

 

 

&nbsp;</p>

 

<

 

asp:LinqDataSource ID="GoalsData" runat="server"

 

 

onselecting="GoalsData_Selecting">

 

</

 

asp:LinqDataSource>

 

<

 

asp:LinqDataSource ID="ActivitiesData" runat="server"

 

 

onselecting="ActivitiesData_Selecting">

 

 

<SelectParameters>

 

 

<asp:Parameter Name="GoalId" Type="Int32" />

 

 

</SelectParameters>

 

 

</

 

asp:LinqDataSource>

 

Shinu
Top achievements
Rank 2
 answered on 17 Aug 2009
13 answers
572 views

I am trying to print the content from the radwindow on a full page.

I have tried an onload and print() on the page that opens in the rad window.  I have tried:

function

GetRadWindow()

{

var oWindow = null;

if (window.radWindow) oWindow = window.radWindow;

else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;

return oWindow;

}

function Print()

{

var oWnd = GetRadWindowManager().GetWindowByName("twPrint");

oWnd.GetContentFrame().contentWindow.print()

}

The problem is that no matter what way I try to print the content, It's like printing a screen shot of the parent window with the rad window content on top.  Any way to fix this?

Georgi Tunev
Telerik team
 answered on 17 Aug 2009
2 answers
110 views

Hello all.  I am currently having a problem getting the DataKeyValue from
my DetailTables data.  The MasterTableView works fine, however, the
same logic does not work with DetailTables.  I have searched the forum
and cannot fine any reference to this problem before.  Anyone have any
clues?  Code posted below.  Thanks in advance.

<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server" Width="97%" AutoGenerateColumns="False"  AllowSorting="True"  ShowStatusBar="true" Skin="Office2007">  
<MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="EventID" AllowMultiColumnSorting="True" Width="100%" Name="EventTable" ClientDataKeyNames="EventID">  
<DetailTables> 
<telerik:GridTableView DataKeyNames="DataID" DataSourceID="SqlDataSource2" 
runat="server" Width="100%" TableLayout="Fixed" Name="DataTable" ClientDataKeyNames="DataID">  
<ParentTableRelation> 
<telerik:GridRelationFields DetailKeyField="EventID" MasterKeyField="EventID" /> 
</ParentTableRelation> 
<Columns> 
<telerik:GridBoundColumn HeaderText="Data ID" DataField="DataID" /> 
<telerik:GridBoundColumn HeaderText="Requirement" DataField="DataReqr" /> 
<telerik:GridBoundColumn HeaderText="Unit Sourced" DataField="DataUS" /> 
</Columns> 
</telerik:GridTableView> 
</DetailTables> 
<Columns> 
<telerik:GridBoundColumn HeaderText="Name" DataField="EventName" HeaderStyle-Width="200px" /> 
<telerik:GridBoundColumn HeaderText="Event AOR" DataField="EventAOR" HeaderStyle-Width="200px" />        
</Columns> 
<GroupByExpressions> 
<telerik:GridGroupByExpression> 
<SelectFields> 
<telerik:GridGroupByField FieldAlias="FY" FieldName="EventFY" /> 
</SelectFields> 
<GroupByFields> 
<telerik:GridGroupByField FieldName="EventFY" /> 
</GroupByFields> 
</telerik:GridGroupByExpression> 
</GroupByExpressions> 
</MasterTableView> 
<ClientSettings ReorderColumnsOnClient="True" AllowColumnsReorder="True">  
<ClientEvents OnRowClick="RowClicked" /> 
<Selecting AllowRowSelect="true" /> 
</ClientSettings> 
</telerik:RadGrid> 
<script type="text/javascript">  
    function RowClicked(sender, args) {  
        if(args.get_tableView().get_name() == "EventTable")  
           alert(args.getDataKeyValue("EventID"));  
       if (args.get_tableView().get_name() == "DataTable")  
           alert(args.getDataKeyValue("EventID"));  
         
    }  
</script> 

Joshua
Josh
Top achievements
Rank 1
 answered on 17 Aug 2009
1 answer
133 views
I have a webpage which contain a radgrid.

I have dragged the context menu into the page. What do I write to ensure that on right clicking the radgrid only, the context menu is displayed?

There is no forum section for contextmenu nor tutorials.

Also, why does this control take physical space on the designer when it is only going to be visible in a certain scenario anyway?

Keep up the good work :)
Veselin Vasilev
Telerik team
 answered on 17 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?