Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
153 views
Good Day

i am using  the Schedule to display appointments, i have the Following Data Example

ID           Description     StartDate                              EndDate
84337    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84338    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84339    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84340    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84341    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84342    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84343    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84344    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84345    CMG211C1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84346    CMH103Y1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84347    CMH103Y1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84348    CMH103Y1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000
84349    CMH103Y1    2010-05-03 00:00:00.000    2010-05-03 00:00:00.000

The Description is used as the Subject name and the start date is that and i id is obvious. When i run my Schedul , it does not bring me any appointments on the Viewer

Thanks

Vuyiswa
Top achievements
Rank 2
 answered on 05 May 2010
1 answer
120 views
hi guys. i need chek box in gridview that when chaked recorde delete.
and i need to access to all textbox in my grid

any guys can help me?


tnx
Princy
Top achievements
Rank 2
 answered on 05 May 2010
1 answer
128 views
When I want to export the data to excel,and I want to export all the data and I set the IgnorePaging Property to true,
but it doesn't work. I can only export the current page's data.How I can export all the pages's data ?

<asp:Button ID="Button1" runat="server" CssClass="button-ts" OnClick="Export" Text="To Excel" />

<
telerik:RadGrid ID="rgridview" runat="server" OnPageIndexChanged="rgridview_PageIndexChanged" 
                                                        OnPageSizeChanged="rgridview_PageSizeChanged" OnSortCommand="rgridview_SortCommand" 
                                                        OnItemDataBound="rgridview_ItemDataBound" Skin="Vista" AlternatingItemStyle-BackColor="#efefef"> 
                                                        <HeaderStyle BackColor="#efefef" /> 
                                                        <PagerStyle Mode="NumericPages" /> 
                                                        <MasterTableView AutoGenerateColumns="False" DataKeyNames="InvitedPeapleName" AllowPaging="True" 
                                                            EnableViewState="true" AllowSorting="True" PageSize="20" TableLayout="Fixed" 
                                                            Width="950px" ForeColor="Black"> 
                                                            <NoRecordsTemplate> 
                                                                "没有符合条件的数据! 
                                                            </NoRecordsTemplate> 
                                                            <Columns> 
                                                                <telerik:GridBoundColumn DataField="InvitedPeapleName" HeaderText="被邀请人" SortExpression="InvitedPeapleName" 
                                                                    UniqueName="InvitedPeapleName"> 
                                                                    <HeaderStyle Wrap="False" Width="48px" /> 
                                                                    <ItemStyle Wrap="False" /> 
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="Department" HeaderText="部门" SortExpression="Department" 
                                                                    UniqueName="Department"> 
                                                                    <HeaderStyle Wrap="False" Width="80px" /> 
                                                                    <ItemStyle Wrap="False" /> 
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="ActivityName" HeaderText="活动名称" SortExpression="ActivityName" 
                                                                    AllowSorting="false" UniqueName="ActivityName"> 
                                                                    <HeaderStyle Wrap="False" Width="60px" /> 
                                                                    <ItemStyle Wrap="False" /> 
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="ActivityDate" DataType="System.DateTime" HeaderText="活动时间" 
                                                                    SortExpression="ActivityDate" UniqueName="ActivityDate" DataFormatString="{0:yyyy-MM-dd HH:mm}"> 
                                                                    <HeaderStyle Width="80px" /> 
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="ActivtiyPlace" HeaderText="活动地点" SortExpression="ActivtiyPlace" 
                                                                    AllowSorting="false" UniqueName="ActivtiyPlace"> 
                                                                    <HeaderStyle Wrap="False" Width="60px" /> 
                                                                    <ItemStyle Wrap="False" /> 
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="ActivityContent" HeaderText="活动内容" SortExpression="ActivityContent" 
                                                                    AllowSorting="false" UniqueName="ActivityContent"> 
                                                                    <HeaderStyle Wrap="False" Width="60px" /> 
                                                                    <ItemStyle Wrap="False" /> 
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="ActivityPartner" HeaderText="对方单位" SortExpression="ActivityPartner" 
                                                                    UniqueName="ActivityPartner"> 
                                                                    <HeaderStyle Wrap="False" Width="50px" /> 
                                                                    <ItemStyle Wrap="False" /> 
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="Reasons" HeaderText="说明" SortExpression="Reasons" 
                                                                    AllowSorting="false" UniqueName="Reasons"> 
                                                                    <HeaderStyle Wrap="False" Width="80px" /> 
                                                                    <ItemStyle Wrap="False" /> 
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="JoinOrNo" HeaderText="是否参加" SortExpression="JoinOrNo" 
                                                                    UniqueName="JoinOrNo"> 
                                                                    <HeaderStyle Wrap="False" Width="40px" /> 
                                                                    <ItemStyle Wrap="False" /> 
                                                                </telerik:GridBoundColumn> 
                                                            </Columns> 
                                                            <PagerTemplate> 
                                                                <div style="float: left;"> 
                                                                    共<%# DataBinder.Eval(Container, "Paging.DataSourceCount")%>条 &nbsp&nbsp每页<%# DataBinder.Eval(Container,"Paging.PageSize") %>条 
                                                                    &nbsp&nbsp当前第<%# (int)DataBinder.Eval(Container, "Paging.CurrentPageIndex") + 1 %> 
                                                                    页/共<%# DataBinder.Eval(Container, "Paging.PageCount")%>页 
                                                                    <asp:Button ID="Button1" runat="server" OnClientClick="changePage('first'); return false;" 
                                                                        CommandName="Page" CommandArgument="First" Text="首页" CssClass="PagerButton FirstPage" /> 
                                                                    <asp:Button ID="Button2" runat="server" OnClientClick="changePage('prev'); return false;" 
                                                                        CommandName="Page" CommandArgument="Prev" Text="上一页" CssClass="PagerButton PrevPage" /> 
                                                                    <asp:Button ID="Button3" runat="server" OnClientClick="changePage('next'); return false;" 
                                                                        CommandName="Page" CommandArgument="Next" Text="下一页" CssClass="PagerButton NextPage" /> 
                                                                    <asp:Button ID="Button4" runat="server" OnClientClick="changePage('last'); return false;" 
                                                                        CommandName="Page" CommandArgument="Last" Text="尾页" CssClass="PagerButton LastPage" /> 
                                                                    转到第 
                                                                    <telerik:RadNumericTextBox ID="RadNumericTextBox1" Width="25px" Value='<%# (int)DataBinder.Eval(Container, "Paging.CurrentPageIndex") + 1 %>' 
                                                                        runat="server"> 
                                                                        <ClientEvents OnValueChanged="RadNumericTextBox1_ValueChanged" /> 
                                                                        <NumberFormat DecimalDigits="0" /> 
                                                                    </telerik:RadNumericTextBox> 
                                                                    页 
                                                                </div> 
                                                            </PagerTemplate> 
                                                        </MasterTableView> 
                                                        <ClientSettings> 
                                                            <Selecting AllowRowSelect="True" /> 
                                                        </ClientSettings> 
                                                    </telerik:RadGrid>

 protected void Export(object sender, EventArgs e) 
    { 
         
        rgridview.ExportSettings.ExportOnlyData = true; 
        rgridview.ExportSettings.IgnorePaging =true; 
        rgridview.ExportSettings.OpenInNewWindow = false; 
        rgridview.MasterTableView.ExportToExcel(); 
    } 



liu qingshui
Top achievements
Rank 1
 answered on 05 May 2010
0 answers
128 views
Hi,

We have a application with rad grid and using RTL support which is not working properly. Scenarios is as follows

1. RadGrid in ascx page
2. Aspx page with placeholder, dynamically loading ascx page using load control method opened in a popup window using radwindow.

When it first time loads the RTL works, but when we click next page, the numeric pagination will show at left side instead of right and also the all the buttons are not in order.

If we use the ascx directly in aspx page instead of dynamic loading then everything works fine.

We have attached the screenshot for your reference.

Appreciate your quick response.

regards,
hari.
Soma Sekhar Vedantam
Top achievements
Rank 1
 asked on 05 May 2010
1 answer
277 views
Hello All ,

I just require to remove the filter text box that appears just below the column titles , but i require the Filter Options in Header Context Menu , How just i can do this ??

Thanks
-Prince
Nikolay Rusev
Telerik team
 answered on 05 May 2010
2 answers
372 views
I have used telerik rad window in my page to display some messages and after taking some input from user with condition i fire an event on the parent page... Its working fine but problem is that its postbacking the whole page and page flicker for some seconds.
I have also used Splitter and Slider Control in my Master Page
All page Flicker for 2 -3 seconds when a page is opened first time.
Please help me out.

Rafat
Rafat Anwer
Top achievements
Rank 1
 answered on 05 May 2010
0 answers
52 views
I have an Upload control in the footer of a GridView.  I am periodically getting a javascript error "rowElement" is null or not an object when trying to upload.

Has anyone seen anything like this before?


EDIT - Ignore this post.  I am using an AsyncUpload.  Have reposted in correct thread.
Senate Public Information Office
Top achievements
Rank 1
 asked on 05 May 2010
0 answers
157 views
Hi,

I have the following code in my page. Postback was not occured eventhough the code "return true" in OnClientClick. 
I have tried the solution given in the following link. But it doesn't works for me.


Kindly give me a solution.

<script type="text/javascript"> 
     function Validate() { 
         var lblEmp = document.getElementById('<%= lblEmp.ClientID %>'); 
         if (Condition){ 
              lblEmp.style.display = 'block'; 
              return false; 
         } 
         else{ 
             lblEmp.style.display = 'none'; 
             return true; 
         } 
    } 
</script> 
    
 


<asp:Button ID="btnSave" runat="server" Width="100px" CssClass="button" 
      Text="Save" OnClick="btnSave_Click" OnClientClick="return Validate();" /> 


Thanks & Regards,
Katte
Katte
Top achievements
Rank 1
 asked on 05 May 2010
0 answers
98 views
I can't seem to get the RadChart control to work on WindowsAzure.

I found another forum thread that recommended turning off Session, but then I need to write the image to a virtual directory.  I could do that but I can't get a non virtual director in azure.
Dave Messinger
Top achievements
Rank 1
 asked on 05 May 2010
12 answers
352 views
As i see during the creation of RadChart i am nowhere required to write the created graph image in my app directory. So i assume that it is writing the image in the temp directory before displaying it under some control... lets  say in a panel. Now the problem i am facing is that in a load balanced environment sometimes the graph is not getting displayed.

--If someone can help me understand the internals like how the image is created and at what step it is disposed. It will help me analyze the issue in load balancer scenario. The error is not there always, so the information can help me understand if load balancer is villain in the play.
Dave Messinger
Top achievements
Rank 1
 answered on 05 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?