Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
578 views

I've discovered the already good looking scheduler looks GREAT without it's scrollbar in monthly mode, so much better you'll definetly want this view as a default if you use month mode.  check it out, code below:

.RadScheduler_Office2007 .rsColumnHeaderLastCell  
{  
  displaynone;  
}  
     
.RadScheduler_Office2007 .rsScrollingContent   
{  
   overflow:hidden !important;       /* was:        overflow: auto;*/ 
   overflow-y: none !important;       /* not sure necessary, was: overflow-y: scroll;*/ 

(Height property has to be set large enough) This is excellent in month view but I need the scroll bar to still display in day and week views.  I've examined the HTML radscheduler generates and experimented a lot with rsContent .rsHorizontal rsScrollingContent rsMonthView and rsWeekView but no joy, and there is no ID output for the <DIV> either.

I was thinking about a little bit of JS to simply change the style when they click the different views, but there doesn't seem to be an event I can hook.   Telerik, do you think with more persistance I can solve this or is it a feature request?

cheers
ewart


ps the scheduler is missing a print style sheet and this change also makes the printed version look way better as long as you also get rid of the header:

     .RadScheduler_Office2007 .rsHeader
       {
        display: none !important;
       }

Pana
Telerik team
 answered on 16 Jul 2010
1 answer
86 views
Hi,
i binded names of table to the combo box.
Now when after selection in the combo box is completed.when i click on button
the concerned details of the selected combo box item have to display in RadGrid.
Suggest me any example on this.
thank you.
Shinu
Top achievements
Rank 2
 answered on 16 Jul 2010
1 answer
388 views
Hi,
i use the radgrid and allows grid can have the scroll bar in the pop-up page, but pop-up window also have scroll bar. this is results in the two scroll bars.That is not what i want. 
I don't want to have the window scroll bar,only grid scroll bar.
Could you help me? Thank you!
<!-- Parent page  -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title>Pop-up window scrollbar</title>
    <script language="javascript" type="text/javascript">
        function showPopUpWin()
        {
            window.radopen("PopWin.aspx","PopUp");
            return false;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <input type="button" value="..." onclick="return showPopUpWin();" />
         
    </div>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
        <Windows>
            <telerik:RadWindow ID="PopUp" runat="server" Modal="false" Width="640px" Height="450px">
            </telerik:RadWindow>
        </Windows>
        </telerik:RadWindowManager>
    </form>
</body>
</html>
 
<!-- Child page,page name:PopWin.aspx -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title>Pop Window</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="None" Width="600px" Height="400px">
            <MasterTableView AutoGenerateColumns="False" DataKeyNames="CustomerID" DataSourceID="SqlDataSource1">
                <RowIndicatorColumn>
                    <HeaderStyle Width="20px" />
                </RowIndicatorColumn>
                <ExpandCollapseColumn>
                    <HeaderStyle Width="20px" />
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" ReadOnly="True"
                        SortExpression="CustomerID" UniqueName="CustomerID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName"
                        UniqueName="CompanyName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ContactName" HeaderText="ContactName" SortExpression="ContactName"
                        UniqueName="ContactName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ContactTitle" HeaderText="ContactTitle" SortExpression="ContactTitle"
                        UniqueName="ContactTitle">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Address" HeaderText="Address" SortExpression="Address"
                        UniqueName="Address">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="City" HeaderText="City" SortExpression="City"
                        UniqueName="City">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Region" HeaderText="Region" SortExpression="Region"
                        UniqueName="Region">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="PostalCode" HeaderText="PostalCode" SortExpression="PostalCode"
                        UniqueName="PostalCode">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Country" HeaderText="Country" SortExpression="Country"
                        UniqueName="Country">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Phone" HeaderText="Phone" SortExpression="Phone"
                        UniqueName="Phone">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Fax" HeaderText="Fax" SortExpression="Fax" UniqueName="Fax">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="bool" DataType="System.Byte" HeaderText="bool"
                        SortExpression="bool" UniqueName="bool">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
            <ClientSettings>
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
            </ClientSettings>
        </telerik:RadGrid>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT TOP 10 *  FROM Customers"></asp:SqlDataSource>
    </div>
    </form>
</body>
</html>


Svetlina Anati
Telerik team
 answered on 16 Jul 2010
2 answers
282 views
Hi,

I would like to do have the same functionality as this but instead of passing the value from the dialog.aspx page to a radtextbox in the radgrid edit template, I would like to pass the value to a asp textbox in the radgrid edit template.  I am stuck -- is this possible?
Radoslav
Telerik team
 answered on 16 Jul 2010
1 answer
136 views
Hi,

I have a RadGrid which I would like to use in more than one place so want to wrap it up as a usercontrol.  It has a DropDownColumn, which I would like to bind to a single instance of an EntityDataSource control which exists in the parent control where my RadGrid control instances live.

So, how can I either:
1).  Set the DropDownColumn DataSourceID to the ID of a control in the parent control, and have it work.
or
2).  Set the DropDownColumn DataSource to a datasource in the parent control.

Thanks,

Craig

Shinu
Top achievements
Rank 2
 answered on 16 Jul 2010
1 answer
105 views
Hi

I am using RadInputManager, however I also want the ValidationSummary to work to bring up a javascript alert only when the submit button is pressed. At the moment it is not working. Any ideas what I can do to get something like this working?
Nikolay Rusev
Telerik team
 answered on 16 Jul 2010
1 answer
115 views
I have a RADGrid inside a usercontrol. I add this user control in a master page within a radpane. . the radgrid does not expand to 100% as it was setup until a postback is performed. I want the radgrid to  be at 100% width of the size of the radpane on page load. Is there something special about radpanes and radgrids that prevent this from happening? Thanks.


PJ
Dimo
Telerik team
 answered on 16 Jul 2010
1 answer
86 views
When i try to style the input control it works all in IE8 and Firefox.

But when I export the skin an reload it in the stylebuilder it ignores my customizations and uses the default settings again.
I tried almost every element in the fine tune component but nothing is as I created it. 

Am i doing something wrong or isn't it stable enough to use it.
Alex Gyoshev
Telerik team
 answered on 16 Jul 2010
1 answer
127 views
i have a RadGrid with some template columns that are bound by a SQL relationship ID that i want to filter by the Name instead.

For example, my orders table is connected to the drivers table via the DriverID.  On the EditItemTemplate, i have a rad combo box that is linked to the list of drivers and the selectedvalue inserts the DriverID in the RadGrid but for the ItemTemplate, it is simply a label that displays the DriverName

However, Filtering only allows me to filter by DriverID, i want to be able to Filter by DriverName

How can i do this?

<telerik:GridTemplateColumn HeaderText="Driver" DataField="DriverID" SortExpression="Driver">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblDriver" Text='<%# Eval("DriverName") %>'></asp:Label>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <telerik:RadComboBox ID="rcbDrivers" runat="server"
                                                             DataSourceID="sdsSelectDriversForRCB" 
                                                             DataTextField="DriverName" SelectedValue='<%# Bind("DriverID") %>'
                                                             DataValueField="DriverID">
                        </telerik:RadComboBox>
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>

Tsvetoslav
Telerik team
 answered on 16 Jul 2010
1 answer
99 views
Hello,

Is there any way to set the RadGrid to perform updates as in-line and have a separate form for an insert which would have more fields than the update?

thanks,

Steve
Shinu
Top achievements
Rank 2
 answered on 16 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?