Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views

<radM:RadMenuItem Text="SelectDate">

<ItemTemplate>

<telerik:RadGrid ID="RadGrid1" runat="server">
</telerik:RadGrid>

</ItemTemplate>

</radM:RadMenuItem>

How to do the above one in cs page?

Princy
Top achievements
Rank 2
 answered on 11 Jan 2011
1 answer
169 views
Hi Team,

I had a RadMenu As Below 

In aspx Page
<telerik:RadMenu ID="RadRM_TopNav" Runat="server" Skin="Hay">  
</telerik:RadMenu>

Now i Used DataSource for this RadMenu

        RadRM_TopNav.DataSource = MenuObject.DSStudentStatus;
        RadRM_TopNav.DataTextField = "StepName";
        RadRM_TopNav.DataValueField = "StepName";
        RadRM_TopNav.DataBind();

Upto this its working fine and Now if i want to add a RadGrid for each of the RadMenuItem(RadRM_TopNav)(..How is it Possible...any syntax please?
Shinu
Top achievements
Rank 2
 answered on 11 Jan 2011
3 answers
110 views
With the SPRadGrid web part is it possible for it to dynamically resize instead of putting a scrollbar inside control? I have tried to set the height as fixed height of 500 and the grid will still not expand all the way down. I have attached a screenshot showing this with the two scroll bars it produces. I would love to know if this is possible. Thanks. 
Tsvetoslav
Telerik team
 answered on 11 Jan 2011
10 answers
683 views
Hello,

When leaving a text box empty, the RadTextBox has a nice style that appears... I was wondering if it was possible to programmably trigger that myself; whenever the input I validate is invalid, I want to trigger that error style to let the user know of a problem.

Is that possible through setting the className attribute or by a JS method?

Thanks.
Tsvetoslav
Telerik team
 answered on 11 Jan 2011
1 answer
110 views
Hi,

I am using RadTabs. My scenario first two tabs shouldnt have close options and rest of the tabs you can close. I tried to bind the close image button to the tabs. Its binding the close button but text is not displaying. Please see images. Here is my code..

<div>
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" ReorderTabsOnSelect="true"
        Orientation="HorizontalTop">
        <Tabs>
            <telerik:RadTab Text="Home" Width="150px" NavigateUrl="Default.aspx">
            </telerik:RadTab>
            <telerik:RadTab Text="My Reports" Width="150px" NavigateUrl="Reports.aspx">
            </telerik:RadTab>
            <telerik:RadTab Text="Task Data" Width="150px" NavigateUrl="Details.aspx">
                <TabTemplate>
                    <div class="textWrapper">
                        <%# DataBinder.Eval(Container, "Text") %>
                    </div>
                    <span class="ie6shim"></span>
                    <img src="Images/delete.gif" style="margin-left: 120px" alt="Close" onclick="deleteTab('<%# DataBinder.Eval(Container, "Text") %>')" />
                </TabTemplate>
            </telerik:RadTab>
            <telerik:RadTab Text="Site History" Width="150px" NavigateUrl="Diagram.aspx">
                <TabTemplate>
                    <div class="textWrapper">
                        <%# DataBinder.Eval(Container, "Text") %>
                    </div>
                    <span class="ie6shim"></span>
                    <img src="Images/delete.gif" style="margin-left: 120px" alt="Close" onclick="deleteTab('<%# DataBinder.Eval(Container, "Text") %>')" />
                </TabTemplate>
            </telerik:RadTab>
            <telerik:RadTab Text="Project Management" Width="150px" NavigateUrl="PrjMgmt.aspx">
                <TabTemplate>
                    <div class="textWrapper">
                        <%# DataBinder.Eval(Container, "Text") %>
                    </div>
                    <span class="ie6shim"></span>
                    <img src="Images/delete.gif" style="margin-left: 120px" alt="Close" onclick="deleteTab('<%# DataBinder.Eval(Container, "Text") %>')" />
                </TabTemplate>
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
</div>
function deleteTab(tabText) {
    alert(tabText);
    var tabStrip = $find("<%# CCOMTabs.ClientID %>");
    var tab = tabStrip.findTabByText(tabText);
    var pageView = tab.get_pageView();
 
    var tabToSelect = tab.get_nextTab();
    if (!tabToSelect)
        tabToSelect = tab.get_previousTab();
 
    tabStrip.get_tabs().remove(tab);
 
    if (tabToSelect)
        tabToSelect.set_selected(true);
}
Shinu
Top achievements
Rank 2
 answered on 11 Jan 2011
2 answers
51 views
Hello there,

To minimize database traffic, i only get appointments from the database by checking on the startdate and enddate. To do this, i give the selecteddate, however in weekview and monthview this isn't appropiate and i see in youre examples you have the same problem:

http://www.telerik.com/help/aspnet-ajax/schedule_appearanceviews.html

You have selected 3 januari, 2008 on dayview, then you got weekview, but it doesn't show the appointments before 3 januari and its the same in monthview. I want to know how i can see in weekview that the startdate of the selected view is 30 december and the enddate is 5 januari. How to make this happen?
Larevenge
Top achievements
Rank 1
 answered on 11 Jan 2011
0 answers
123 views
Hi Friends,

I droped one RadGrid on my webpage and bounded with sql table named "schedules". In this table i have one column "country" now i am succesfully implemented updating concept in my radgrid, its working fine also. Now i want when i am clicking on edit button country column should be converted as dropdownlist and country columm should be bound with db values.

Please provide me any demo links or sample code.
------------------
Thanks
Nagendra.
Nagendra
Top achievements
Rank 1
 asked on 11 Jan 2011
2 answers
228 views
Hi,

i am using rad popup window. theme used is "Outlook".

the default title color is black.

How can i change that black color to white color?

Shinu
Top achievements
Rank 2
 answered on 11 Jan 2011
3 answers
273 views
Hi,
I have a grid that is editable and I want to assign a ValidationGroup to the Delete and Update functionality so that it doesn't interfere with the other controls on the page. How do I set the ValidationGroup on these controls?
Here are my Edit and Delete Grid Command Columns:
<telerik:GridEditCommandColumn  ButtonType="ImageButton" UniqueName="EditCommandColumn">  
        <HeaderStyle HorizontalAlign="Center" Width="30px" /> 
        <ItemStyle CssClass="MyImageButton" HorizontalAlign="Center" /> 
    </telerik:GridEditCommandColumn> 
    <telerik:GridButtonColumn ConfirmText="Delete this product?" ConfirmDialogType="RadWindow" 
        ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete" 
        UniqueName="DeleteColumn">  
        <HeaderStyle HorizontalAlign="Center" Width="30px" /> 
        <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" /> 
    </telerik:GridButtonColumn> 
I tried using ValidationGroup but it doesn't recognize it as a property for these columns. It happens when I hit the Delete column and when I hit the Update link after clicking the Edit column..

Thanks
Nikolay Rusev
Telerik team
 answered on 11 Jan 2011
2 answers
116 views
Hi,

 Can I associate GridHyperLink or GridDateTime Column in the GridTemplate column?
I just want to change the header template, I dont want to change the item template. Is this possible..?
I am embedding a image button inside the header for each column. Can I have the header context menu on click event of this image button.?
If so, what is the CommandName for header context menu and CommandArgument for the same. ?


Regards,
Niraj Khose
Princy
Top achievements
Rank 2
 answered on 11 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?