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

I recently attached a javascript event handler the client event OnCommand. I noticed that when I select a page using the numeric pager, the command argument for the event is the page number. For instance, I select page 1, the command name is 'Page' and the command argument is 1. When I select page 1 using the master table view set_currentPageIndex, I get the command name 'Page', but the command argument is 0, the index value I passed to the function. This has caused me some difficulty as I don't necessarily have a way of determining how the event was originally triggered.

Obviously it would be preferable if it used either the page number or the index, but not both.

I am currently on 2010 Q2.

Thanks,
Joe

Vasil
Telerik team
 answered on 04 Apr 2011
1 answer
101 views
I'd like to add a date/time field to the advanced template for existing scheduler items that would allow the user to select a date/time combo and have the the event copied to the selected date while retaining that date in the database so that the user could see the date the event was rescheduled to.  Not sure how I would do this - do you have a suggestion as to how I might achieve this?

Maybe instead of a field on template I could handle this with a context menu and an attribute field?  Thoughts?

thanks.
Peter
Telerik team
 answered on 04 Apr 2011
2 answers
130 views
Hi;

I'd like to have the following feature, as you move your mouse over the left side, the right page chnges:
http://crm.dynamics.com/en-us/sales

Which control can offer this functionality?
The closest that I can think of Tab page with vertical tabs and if I can change the behavior to mouse over than click.

Secondly when you click on "Click to Zoom" it dims out the screen and opens a modal window with X to close. Is this something we can do with the current controls?

Thanks!
..Ben
Ben Hayat
Top achievements
Rank 2
 answered on 04 Apr 2011
1 answer
66 views
HOW TO CHANGE date box style  forecolor, text align... thanks
Shinu
Top achievements
Rank 2
 answered on 04 Apr 2011
1 answer
203 views
Hi,

I want to display the same delete image that you used in your demos. By default it shows like a recycle bin not the red cross delete image. I am using the version 2008.2.1001.20 of Telerik.Web.UI. Please let me know how I can use that symbol by default.
Princy
Top achievements
Rank 2
 answered on 04 Apr 2011
3 answers
113 views
 



for (int intAy = 1; intAy < 13; intAy++)
           {
               Label17.Text = GridView1.Items[i].Controls[intAy].Controls.Count.ToString();                
               string strTemp = GridView1.Items[i].Controls[intAy].Controls[1].ID;   
            
             
           }

at this code , Label17.Text return 0 so , i couldnt get strTemp !

Princy
Top achievements
Rank 2
 answered on 04 Apr 2011
1 answer
99 views
Hi There,
I have a simple grid with a datasource. All ok, except that I dont want the user be able to set 
the page size. But setting the AllowCustomPaging to false doesnt do much.... It still shows the page-size
drop down and user is able to use it too. Any tips somebody?

Cheers Peter.

<
div class='Kamer_03'>03
<telerik:RadGrid ID="RadGrid1" runat="server"
        DataSourceID="SqlDataSource1" GridLines="Vertical"
        AutoGenerateColumns="False" BackColor="#FF3399"
        PageSize="5" AllowPaging = "True" AllowCustomPaging="false"  >
<MasterTableView datasourceid="SqlDataSource1" >
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn>
<HeaderStyle Width="30px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="TRIA" HeaderText="TRIA"
            SortExpression="TRIA" UniqueName="TRIA" ReadOnly="True">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="PATIENT" HeaderText="PATIENT"
            UniqueName="PATIENT" ReadOnly="True" SortExpression="PATIENT">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="SPEC" HeaderText="SPEC" UniqueName="SPEC"
            ReadOnly="True" SortExpression="SPEC">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="NURSE" HeaderText="NURSE"
            UniqueName="NURSE" ReadOnly="True" SortExpression="NURSE">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="HB" HeaderText="HB" ReadOnly="True"
            SortExpression="HB" UniqueName="HB">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="WAIT" HeaderText="WAIT" UniqueName="WAIT"
            ReadOnly="True" SortExpression="WAIT">
        </telerik:GridBoundColumn>
 
    </Columns>
</MasterTableView>
 
 
    <PagerStyle PageSizeLabelText="" ShowPagerText="False" />
 
 
    </telerik:RadGrid>
    <asp:SqlDataSource ID="SqlDataSource1"
        runat="server"
        ConnectionString="<%$ ConnectionStrings:SEH-acceptatieConnectionString %>"
         
        SelectCommand="usp_ShowPatients" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:Parameter DefaultValue="O3" Name="Ruimte" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    </div>
Princy
Top achievements
Rank 2
 answered on 04 Apr 2011
3 answers
148 views
Hello,

Searched the forums for a while, but not really what i'm looking for... I want full dynamic load of tab, pages and controls on the page. I also tried it with an event (PageViewCreated) using AddHandler, as in an example, but no luck...

I was wondering why this wont work:

Private Sub _Default_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
    Dim PH As PlaceHolder = PlaceHolder1
 
    Dim RTS As New RadTabStrip
    Dim RMP As New RadMultiPage
 
    For i As Integer = 1 To 4
        Dim RT As RadTab = New RadTab
        RT.Text = "Tab " & i
        RT.PageViewID = "Tab_" & i
        RTS.Tabs.Add(RT)
 
        Dim RPV As New RadPageView
        RPV.ID = "Tab " & i
        RMP.PageViews.Add(RPV)
 
        Dim Pnl As Panel = New Panel
        Pnl.Controls.Add(New LiteralControl("tabbie " & i))
        RPV.Controls.Add(Pnl)
 
    Next i
    RTS.SelectedIndex = 0
    PH.Controls.Add(RMP)
    PH.Controls.Add(RTS)
 
End Sub

Thanks,

Erik
Erik
Top achievements
Rank 2
 answered on 03 Apr 2011
10 answers
399 views
Hi,

I'm currently playing around with GridSettingsPersister (with latest version of RadGrid) and I have a bit of a problem with the filter states.  I have BoundColumns with the following properties:
  AutoPostBackOnFilter = true;
  CurrentFilterFunction = GridKnownFunction.Contains;
  ShowFilterIcon = false;

But when I load the state of these filters in Page_Init the filtered expressions are added correctly to the grid but the file TextBox remains empty, giving the user no indication that the grid is sorted.

Does anyone have a workaround for this?

Thanks

Guido Tapia
Erik
Top achievements
Rank 2
 answered on 03 Apr 2011
1 answer
62 views
How do you add a radribbonbutton control event handler (click event)
Keith
Top achievements
Rank 1
 answered on 03 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?