Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
46 views
Hi,

I've made a little webapplication using dock layout, dock zones and a dock but the dock frame and handle looks wird.

It looks like the ends of the titlebar dock handle is lowered 1 px.
When moving the dock around inside and outside the dock zone, the dock frame looks unstable, sometimes the right frame on the dock is there sometimes it isn't.

I've tried changing the resolution of my screen from 1920x1080 to 1024x768 but that didn't make any difference.

I'm not using any skin. I'm viewing in iE 9.

I get the same wird look on your demo site. Please see attached files to see what I mean.

Thanks.

/Thomas

        <telerik:RadDockLayout ID="RadDockLayout1" runat="server"
            StoreLayoutInViewState="True">
            <telerik:RadDockZone ID="RadDockZone1" runat="server" Height="300px" Width="300px">
                <telerik:RadDock ID="RadDock1" runat="server" Width="300px"
                    EnableEmbeddedSkins="False" Resizable="True">
                <ContentTemplate>
                <asp:Label ID="Label1" runat="server" Text="Hello dock"></asp:Label>
                </ContentTemplate>   
                </telerik:RadDock>
            </telerik:RadDockZone>
            <telerik:RadDockZone ID="RadDockZone2" runat="server" Height="300px" Width="300px">
            </telerik:RadDockZone>
        </telerik:RadDockLayout>
Slav
Telerik team
 answered on 08 Jun 2012
3 answers
239 views
I have a rad combo box and I have a selected RadComboBox Item that has a text  = abcform and Value = 100.

Now somewhere in my application I updated the entry to have a value of 101, but the text is still abcform.

When I come back to RadComboBox and search, the item is correctly populated(with value 101) but on selection of item , the selected index changed event is not firing and it is retaining the old value 100.

is this a bug in Radcombobox? Please suggest any solution to the problem.
Ivana
Telerik team
 answered on 08 Jun 2012
1 answer
94 views
Hi,
I have attached an example of how we would like to have the combobox styled, is this possible to achieve using the visual style builder?

Thanks
Hallur Holm Johannessen
Ivana
Telerik team
 answered on 08 Jun 2012
0 answers
69 views
Hi,
can't reply to the thread i created
it gives me ERROR, check the screenshot
Naresh
Top achievements
Rank 1
 asked on 08 Jun 2012
1 answer
99 views
Here is the RadGrid Control

<telerik:RadGrid ID="rgAttributeResultStatus" runat="server"
            onneeddatasource="rgAttributeResultStatus_NeedDataSource"
            AllowFilteringByColumn="True" AllowSorting="True"
            AutoGenerateColumns="False" CellSpacing="0" GridLines="None"
            onitemdatabound="rgAttributeResultStatus_ItemDataBound"
            onpageindexchanged="rgAttributeResultStatus_PageIndexChanged"
            onpagesizechanged="rgAttributeResultStatus_PageSizeChanged"
            onsortcommand="rgAttributeResultStatus_SortCommand"
            onitemcommand="rgAttributeResultStatus_ItemCommand"
            ShowStatusBar="True" Width="576px">
            <ClientSettings>
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                <Resizing AllowResizeToFit="True" EnableRealTimeResize="True" />
            </ClientSettings>
<MasterTableView PageSize="10" ShowFooter="True" ShowHeader="true" FilterExpression="(ResultCount > 0)">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridTemplateColumn AllowFiltering="False" DataField="Id"
            FilterControlAltText="Filter chkID column" GroupByExpression="Id"
            HeaderText="Include In Search" SortExpression="Id" UniqueName="IncludeInSearch" HeaderStyle-Wrap="true" HeaderStyle-Width="80px">
            <ItemTemplate>
                <telerik:RadButton ID="rdBtnIncludeInSearch" runat="server" CommandName="IncludeInSearch"
                CommandArgument='<%# Eval("Id") %>'
                AutoPostBack="true"
                Text="Add" ></telerik:RadButton>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="Id"
            FilterControlAltText="Filter Id column" GroupByExpression="Id" HeaderText="Id"
            SortExpression="Id" UniqueName="Id" Visible="False">
            <ItemTemplate>
                <asp:Label ID="lblId" runat="server" Text='<%# Eval("Id") %>'></asp:Label>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
 
        <telerik:GridTemplateColumn DataField="AttributeDef.Name"
            FilterControlAltText="Filter AttributeName column"
            GroupByExpression="AttributeName" HeaderText="Attribute Name"
            SortExpression="AttributeName" UniqueName="AttributeName">
            <ItemTemplate>
                <asp:HyperLink
                    ID="lnkResultDetails"
                    runat="server" >
                <asp:Label ID="lblAttributeName" runat="server"
                    Text='<%# Eval("AttributeDef.Name") %>'></asp:Label>
                </asp:HyperLink>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridBoundColumn DataField="ResultCount"
            FilterControlAltText="Filter ResultCount column"
            GroupByExpression="ResultCount" HeaderText="Result Count"
            SortExpression="ResultCount" UniqueName="ResultCount"
            ForceExtractValue="Always" FooterText="Total Results: "
            CurrentFilterFunction="GreaterThan"
            DataType="System.Int64" Aggregate="Sum"
            AndCurrentFilterFunction="GreaterThan" AndCurrentFilterValue="0"
            CurrentFilterValue="0" DefaultInsertValue="0"
             HeaderStyle-Wrap="true" HeaderStyle-Width="100px"
             FilterControlWidth="20px"
            >
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="StatusDate" AllowFiltering="false" AllowSorting="false"
            FilterControlAltText="Filter StatusDate column" GroupByExpression="StatusDate"
            HeaderText="Status Date" UniqueName="StatusDate">
        </telerik:GridBoundColumn>
        <telerik:GridTemplateColumn DataField="AttributeDef.Id"
            FilterControlAltText="Filter AttributeId column"
            GroupByExpression="AttributeDef.Id" HeaderText="Attribute Id"
            SortExpression="AttributeDef.Id" UniqueName="AttributeId" Visible="False">
            <ItemTemplate>
                <asp:Label ID="lblAttributeId" runat="server"
                    Text='<%# Eval("AttributeDef.Id") %>'></asp:Label>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridTemplateColumn DataField="AttributeDef.DetailPageUrl"
            FilterControlAltText="Filter DetailPageUrl column"
            GroupByExpression="AttributeDef.DetailPageUrl" HeaderText="Detail Page Url"
            SortExpression="AttributeDef.DetailPageUrl" UniqueName="DetailPageUrl" Visible="False">
            <ItemTemplate>
                <asp:Label ID="lblDetailPageUrl" runat="server"
                    Text='<%# Eval("AttributeDef.DetailPageUrl") %>'></asp:Label>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridBoundColumn DataField="DbColumnName"
            FilterControlAltText="Filter DbColumnName column"
            GroupByExpression="DbColumnName" HeaderText="Db Column Name"
            SortExpression="DbColumnName" UniqueName="DbColumnName" Visible="False">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn FilterControlAltText="Filter SchemaName column"
            GroupByExpression="SchemaName" HeaderText="Schema Name"
            SortExpression="SchemaName" UniqueName="SchemaName" Visible="False">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="SourceName"
            FilterControlAltText="Filter SourceName column" GroupByExpression="SourceName"
            HeaderText="Source Name" SortExpression="SourceName" UniqueName="SourceName"
            Visible="False">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="LevelOfDetailName"
            FilterControlAltText="Filter LevelOfDetailName column"
            GroupByExpression="LevelOfDetailName" HeaderText="Level Of Detail Name"
            SortExpression="LevelOfDetailName" UniqueName="LevelOfDetailName"
            Visible="False">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="SqlStatement"
            FilterControlAltText="Filter SqlStatement column"
            GroupByExpression="SqlStatement" HeaderText="SqlStatement"
            SortExpression="SqlStatement" UniqueName="SqlStatement" Visible="False">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn FilterControlAltText="Filter ErrorMessage column"
            GroupByExpression="ErrorMessage" HeaderText="Error Message"
            SortExpression="ErrorMessage" UniqueName="ErrorMessage" Visible="False">
        </telerik:GridBoundColumn>
    </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
    <PagerStyle Position="TopAndBottom" AlwaysVisible="True" />
</MasterTableView>
 
            <PagerStyle AlwaysVisible="True" />
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
        </telerik:RadGrid>

Please take a look at the image to understand what is going on.

Thanks,Jeff
Shinu
Top achievements
Rank 2
 answered on 08 Jun 2012
1 answer
146 views
Hi, 

I am wondering i Have a advanced insert template that i am using and inside of this advanced insert template the user will have two options make a group event or individual event.How do I change the visiblity one of the 2 tables that have the rest of the information they must fill in for the appointment. my code currently is this and i am getting object null cause it can't find the control.
Protected Sub ddlapptType_OnSelectedIndexChanged(sender As Object, e As System.EventArgs)
 
        Dim ddl As DropDownList = sender
 
        Dim tbl As Table = RadScheduler1.FindControl("tblGropuInsert")
        If ddl.SelectedValue = 1 Then
  //this is where i want to make the group insert table visible
        End If
 
End Sub
 
Plamen
Telerik team
 answered on 08 Jun 2012
1 answer
297 views
Hello,

I'm trying to make a calendar that contains only day of the week (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday), 24 hours a day, something like the Scheduler. But I do not want to get dates, but simply the day of the week and time you select. Is there some control to help me with this project?

Added the example picture.

Thank you.
Princy
Top achievements
Rank 2
 answered on 08 Jun 2012
1 answer
83 views
Hello,

I am building a RadGridwith a NestedViewTemplate which essentially has a PlaceHolderControl and within that a RadGrid control.  So it looks like:

RadGrid-1 (with drop down menu for each MasterViewTemplate item)
|__PlaceHolder
     |__RadGrid-2
          |__Detail Table (if necessary; depends on Input A)
  |__Detail Table (if necessary; depends on Input A) 
  |__Detail Table (if necessary; depends on Input A) 

In RadGrid-1 there is a drop down menu input and based on this input the RadGrid-2 will have a varying number of details tables for each row.  In other words the RadGrid-2 can vary in size for each NestedViewItem of RadGrid-1 depending on the dropdown.

I have created RadGrid-1 and the PlaceHolder in my ASPX file.  Since the contents of RadGrid-2 depend on the data that exists in RadGrid-1 I have to wait for the data to be bound before I can begin creating my RadGrid-2's.  I decided that I would create the RadGrid-2's in the RadGrid1_PreRender events because this happens after the data is bound.

The problem that I am having is now when I traverse RadGrid1 to access all my RagGrid-2's (RadGrid-2 has some inputs fields) they can not be be found.  I am making a call like the following and coming up empty.

For Each masterViewItem As GridDataItem In RadGrid-1.MasterTableView.Items

	thisGrid = DirectCast(masterViewItem.ChildItem.NestedViewCell.FindControl("RadGrid-2"), RadGridThe problem that I am having is now when I traverse RadGrid1 to access all my RagGrid-2's they can not be be found.  I am making a call like:


I added the RadGrid-2's to the PlaceHolder Control in the PreRender event so why can I not see them after?  Please note that "RadGrid-1" and "RadGrid-2" are fake names and I am using real names in my scenario.
Princy
Top achievements
Rank 2
 answered on 08 Jun 2012
1 answer
56 views
Is there somewhere I can download the gallery demo?
Princy
Top achievements
Rank 2
 answered on 08 Jun 2012
3 answers
241 views
Hello forum,

I have a radgrid (radgrid1) nested in another (radgrid2).  The primary key for radgrid1 is "CustomerID" as is the foreign key in radgrid2.

How do I get the selected primary value in radgrid1 to automatically appear during inserts in radgrid2, as the FKey, so that the user doesn't have to manually enter it? 

Thanks.

Shinu
Top achievements
Rank 2
 answered on 08 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?