Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
89 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
612 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
91 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
37 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
91 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
179 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
243 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
99 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
3 answers
71 views
in my radgrid i use template as EditFormType. When I open the edit form for a grid item I want to show or hide a texbos based on the value populated in it. Is it possible to achieve?

thanks in advance.
Princy
Top achievements
Rank 2
 answered on 11 Jan 2011
1 answer
50 views
Hi
I am just getting started with the great chart control, and can't figure out how to do what I am sure
is simple..

I have a database of prices and vintages for specific wines and I am looking to create a point chart to show the correlation of price to vintage.

I have created a nice chart, but there are no vintages shown on the x-axis where there are no data points in the database. (Not every vintage has production for some chateaux)

What I actually want is
- a linear x axis with a tick for every year from 1850 to 2010
- ideally with every 5th year labelled (to avoid crowding of the x-axis text)
- point markers for every value that is in the database
- no point marker where there is no data.

How do I set it up to get this result?

Thanks for some hints!

Clive
Yavor
Telerik team
 answered on 11 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?