Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
181 views
So I followed the related RadComboBox examples and have implemented a set of ComboBox controls (where one combo box is dependent on the value selected in the other). This was implmented via Custom Attributes and therefore, I no longer use the "ResourceControl" functionality. This works fine. However, I need to implement the GroupBy functionality for these custom attributes, and I think I lose this functionality when I move to using Custom Attributes. I need to implement functionality as follows:
1) I would like the caledar to show my resources via a GroupBy across the top, which is doable if you use the "GroupBy" property in the radScheduler.
2) When I select an appointment under this GroupBy resource, I now need my custom attribute to reflect this i.e. my radComboBox that corresponds to the GroupBy resource should select the appropriate entry in the dropdown list which corresponds to the GroupBy resource (which then populates my related radComboBox).

Perhaps I can clarify this with an example:
I have 3 resources, Room 101, Room 102, and Room 103
I have 6 other related resources, namely Bob, Carol, Ted, Alice, Biff and Muffy.
Bob and Carol can only be assigned to Room 101, Ted and Alice can only be assigned to Room 102, Biff and Muffy to Room 103
When Room 101 is selected in the Room combobox, only Ted and Alice should appear in the User combobox etc.
I have done this via the examples provided by implementing related radComboBoxes and custom attributes in the advanced edit form.

However, I wish to have a GroupBy Room so that my Rooms appear across the top of my calendar.
When I select an appointment to insert under a particular room, I need to pass that selection on to my radComboBox for my Room resource so that the appropriate value gets selected. How can I do this?

Hope this makes sense. Any help would be appreciated.
Dimitar Milushev
Telerik team
 answered on 10 May 2010
1 answer
87 views
Hi,

When RadMenu is used with Windows 7 theme, disabled items in menu does not show washed out text color, thus making it impossible to visually identify which menu items are enabled and which are not.

When looked inside, the disabled css class is overwritten by another Windows 7 theme css class that changes the text color back to original.

Please advise on how to fix this issue.

Thanks.
Kamen Bundev
Telerik team
 answered on 10 May 2010
1 answer
102 views
Can you give me an example of using Scheduler with RadToolTip but no UpdatePanel?

When I try the solution with the UpdatePanel and I use a MasterPage, I get the following error:

  • Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.

 

When I don't use the MasterPage, it works fine.
Peter
Telerik team
 answered on 10 May 2010
1 answer
148 views
Hello,

Is there a way to reset a grid deep inside a hierarchy of radgrids without redrawing all the radgrid by a radgrid1.Rebind(); ?

Thanks
CS
Tsvetoslav
Telerik team
 answered on 10 May 2010
1 answer
111 views
Hello, I have a lot of grids with image columns (first and last columns are icons). I want to export the grid to excel, but I DO NOT want the image columns to be exported (they mess the excel column widths).
Also, each time I export a grid to excel, I get a warning "The file you are trying to open is in a diffent format than specified by file extension....".  After accepting, the file is nevertheless opened. But the image columns make a mess.
Any way to avoid exporting them and solving the warning?

Thanks!

Shinu
Top achievements
Rank 2
 answered on 10 May 2010
1 answer
119 views
Hello,

I'm trying to fix a page on out local site, and the issue is this, when performing any action, expanding a row item, sorting or filtering, it takes 2 clicks for the action to work.  The page is as follows, a master page, the actual page, which has a RadScriptManager, then 2 nested UpdatePanels, and a RadGrid inside of the 2nd nested panels.  On the grids first load it seems to work when expanding rows, but paging, sorting or filtering seems to cause problems.  Once a problematic action is taken the data will appear correctly, but clicking to expand a row, sort again, or page will fail without a notification, the server will just return the same page data again, as if it did not detect the grids postback action.  After the failed click i'm able to expand rows once again.  I've been debugging the page and on the failing clicks the pages onLoad method is called, but the sub items are not called.

Also the RadGrid is placed in a user control.

Any ideas?

Also I've been looking at the post back information and this is what I found.  I steps I took were to expand a row, close a row, filter to display that row, and then open and close it.

-- Bad Row Open
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl17$GECBtnExpandColumn"
-- Good Row Open
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl16$GECBtnExpandColumn"
-- Good Row Close
[48] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl16$GECBtnExpandColumn"

-- Good Filter
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl02$ctl01$btnLocationOk"

-- Bad Row Open
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl05$GECBtnExpandColumn"
-- Good Row Open
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl04$GECBtnExpandColumn"
-- Good Row Close
[44] = "ctl00$pageContent$tAlerts$rgAlerts$ctl00$ctl04$GECBtnExpandColumn"

Tsvetoslav
Telerik team
 answered on 10 May 2010
4 answers
316 views
Hi ,

I would like to extend the timing for tool tip display .

Thanks.
Eva


Svetlina Anati
Telerik team
 answered on 10 May 2010
3 answers
153 views
Is the RadWindow suitable alternative for the AjaxToolbox Modal pop up?
I try and use it to create for example an Editor pop up for posts in a listview.
But then i need to send info between the page and the pop up, and not have the problem that the window closes down on callback. 
I dont need the pop up to be  a true modal in the sense that it blocks the rest of the page.
Would  the radWindow require extra javascript to these kind of operations?


Thanks for your time! 
Lautar.
Lautaro
Top achievements
Rank 1
 answered on 10 May 2010
1 answer
151 views
Hello Friends,

I have implemented custom pegging in my page.its working fine with dynamic column.
But in that grouping is not working.
I had done with below code.

.aspx page code

  <radG:RadGrid ID="dgResults" runat="server" AllowSorting="True" AllowPaging="true"
            AllowCustomPaging="true" PageSize="10" GroupPanel-Text="Drag and Drop Column Header To Regroup Column. "
            EnableAJAX="False" AllowFilteringByColumn="True" ShowGroupPanel="True" ExportSettings-ExportOnlyData="true"
            ExportSettings-IgnorePaging="true" ExportSettings-OpenInNewWindow="true" ShowFooter="false"
            Skin="Monochrome" BorderStyle="None" MasterTableView-CellPadding="0" MasterTableView-AutoGenerateColumns="false"
            CellPadding="0" EnableAJAXLoadingTemplate="False" GridLines="both" ClientSettings-ApplyStylesOnClient="true"
            Width="100%">
            <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="None" GroupLoadMode="Client"
                EnableColumnsViewState="true" TableLayout="Fixed">
                <ExpandCollapseColumn Visible="False">
                    <HeaderStyle Width="19px" />
                </ExpandCollapseColumn>
                <RowIndicatorColumn Visible="False">
                    <HeaderStyle Width="20px" />
                </RowIndicatorColumn>
            </MasterTableView>
            <ClientSettings EnableClientKeyValues="True" ReorderColumnsOnClient="True" AllowColumnsReorder="True"
                AllowGroupExpandCollapse="True" AllowDragToGroup="True">
                <Resizing AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="False" />
                <Selecting AllowRowSelect="true" />
                <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" ScrollHeight="405px">
                </Scrolling>
            </ClientSettings>
            <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true"></PagerStyle>
        </radG:RadGrid>

.vb file code


Public Property pagenumber() As String
        Get
            Dim o As Object = ViewState("pagenumber")
            If o Is Nothing Then
                Return String.Empty
            End If
            Return CStr(o)
        End Get

        Set(ByVal Value As String)
            ViewState("pagenumber") = Value
        End Set
    End Property
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            CreateColumn()
        End If
    End Sub
    Private Sub CreateColumn()
        dgResults.Columns.Clear()
        If Not IsPostBack Then
            Dim boundName As New GridBoundColumn
            dgResults.MasterTableView.Columns.Add(boundName)
            boundName.DataField = "userid"
            boundName.HeaderText = "userid"
            boundName.UniqueName = "userid"
            boundName.SortExpression = "userid"

            Dim boundCompanyId As New GridBoundColumn
            dgResults.MasterTableView.Columns.Add(boundCompanyId)

            boundCompanyId.DataField = "username"
            boundCompanyId.HeaderText = "username"
            boundCompanyId.UniqueName = "username"
            boundCompanyId.SortExpression = "username"

            Dim boundroleid As New GridBoundColumn
            dgResults.MasterTableView.Columns.Add(boundroleid)

            boundroleid.DataField = "role_id"
            boundroleid.HeaderText = "role_id"
            boundroleid.UniqueName = "role_id"
            boundroleid.SortExpression = "role_id"
        End If
        If pagenumber = String.Empty Then
            pagenumber = 1
        End If
        Dim ds As DataSet = TT.test(pagenumber, 10) ' Get record
        dgResults.VirtualItemCount = ds.Tables(1).Rows.Count
        dgResults.DataSource = ds.Tables(0)
        dgResults.DataBind()
        ViewState("dttemp") = ds.Tables(0)
    End Sub
   Protected Sub dgResults_NeedDataSource(ByVal source As Object, ByVal e As Telerik.WebControls.GridNeedDataSourceEventArgs) Handles dgResults.NeedDataSource
        Dim ds As DataSet = TT.test(dgResults.CurrentPageIndex + 1, 10) ' Get record
        dgResults.VirtualItemCount = ds.Tables(1).Rows.Count
        Me.dgResults.DataSource = ds.Tables(0)
    End Sub


below Stored Procedure is used in my function

ALTER PROCEDURE testnew1
@iPageIndex INT,
@iMaxRows INT
AS
BEGIN
SET NOCOUNT ON;

DECLARE @iStart INT
SELECT @iStart = (@iPageIndex - 1) * @iMaxRows
DECLARE @iEnd INT
SELECT @iEnd = @iStart + @iMaxRows

IF OBJECT_ID (N'#TempNews',N'U') IS NOT NULL
DROP TABLE #TempNews

CREATE TABLE #Temp(
intUniqueID INT PRIMARY KEY IDENTITY(1, 1),
userid int,
username VARCHAR(500),
role_id  int
)

INSERT #Temp
SELECT userid,username,role_id from users
SELECT * FROM #Temp
WHERE intUniqueID > @iStart
AND intUniqueID <= @iEnd

DROP TABLE #Temp
select * from users
END


When i applied grouping on role_id column than i get the screen view as per attchment (Screen.jpg)

Please help me for grouping with custom pagging and dynamic column.

where is the problem in my code.

Thanks & Regards
Jignesh Patel

Pavlina
Telerik team
 answered on 10 May 2010
3 answers
66 views
Hi i have installed rad RadEditorMOSS_5_7_1 in wss 3.0 site .In the documentation It is saying that remove some moss tools in toolsfile.xml so that you can install rad editor in wss .May i know which tools i have to remove and which tools i have to add to work rad editor in wss 3.0 site.
Stanimir
Telerik team
 answered on 10 May 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?