Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
55 views
hi,


i am using raddock for edit  and insert to show the form as popup. while double clicking the appointment, its goes to server and get the form to appears.but it takes more time to show the popup.i need to show the loading panel for user to indicates that its loading.

i have used update panel for raddock.

in aspx code

  <asp:UpdatePanel runat="server" ID="UpdatePanel1">
            <ContentTemplate>
              <asp:Panel runat="server" ID="DockPanel">
                    <telerik:RadDock runat="server" ID="RadDock1" Width="500px" Height="150px"
                        Closed="true" Style="z-index: 2000;" Title="Edit appointment"
                        OnClientDockPositionChanged="dockMoved"
                        OnClientInitialize="dockInitialize">
                        <Commands>
                            <telerik:DockCloseCommand  OnClientCommand="dockClose"/>
                        </Commands>        <ContentTemplate>
                            <div>
                               
                                <div >
                                    <table>
                                        <tr>
                                            <td>
                                             Subject:
                                            </td>
                                            <td>
                                                 <asp:TextBox  runat="server" ID="DescriptionText" Width="240px"></asp:TextBox><asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1"
Display="Dynamic" ControlToValidate="DescriptionText" ErrorMessage="Description is required" />
                                            </td>
                                        </tr>
                                        <tr>
                                        <td>
                                              <asp:Label ID="lblStartTime" runat="server" Text="Start time:"></asp:Label>
                                   
                                  
                                        </td>
                                        <td>
                                               <telerik:RadTimePicker ID="tpStartTime"   Skin="Web20" runat="server">
                                    </telerik:RadTimePicker>
                                        </td>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblEndTime" runat="server" Text="End time:" Visible="true"></asp:Label>
                                            </td>
                                            <td>
                                                <telerik:RadTimePicker ID="tpEndTime" runat="server" Skin="Web20">
                                                </telerik:RadTimePicker>
                                            </td>
                                        </tr>
                                        <tr>
                                        <td>
                                              <asp:CheckBox ID="chkRecurrence" Visible="false"  Text="Apply changes to all appts"  runat="server" />
                                  
                                   
                                        </td>
                                        </tr>
                                        <tr>
                                        <td>
                                            <asp:Button runat="server" ID="SubmitButton" Text="Update" OnClick="SubmitButton_Click"
OnClientClick="return hideForm()" />
                                        </td>
                                        <td>
                                            <button onclick="hideForm();" type="button" >
                                        Cancel</button>
                                        </td>
                                        </tr>
                                    </table>
                                
                                    </div></div>
                                        </ContentTemplate>
                           </telerik:RadDock>
                   </asp:Panel>
  </ContentTemplate>
          </asp:UpdatePanel>

Radschedular placed outside of the update penel.

but am using

     <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />



Loading panel  is working if any opertaions to be done within radschedular.
while opening raddock window or clicking save in raddock window, i need to show the loading panel.
how to do it?

Thanks for your replies

Dhana








         








Dhana R
Top achievements
Rank 1
 asked on 12 Sep 2009
0 answers
128 views
hi,

i am using context menus(4 options) for showing right click options.but am not able to implement some of the things  that are follows

These are to be done in server side.because i have some validations in server side to show/hide content menus.

1.  I need to disable the right click options(context menus) for  particular appointment.
2.  I need to enable one context menu out of 4 menus for particular appointment


how can it is possible?

Thanks for your valuable suggestions,

Dhana

 
Dhana R
Top achievements
Rank 1
 asked on 12 Sep 2009
3 answers
135 views
hi
when i use sqldatasource to bind every thing is ok.
but when ia am using this code to bind my data grid to data source in(q2 2009 sp1)
 protected void btn_Filter_Click(object sender, EventArgs e) 
    { 
        
        ds_Reports.sp_DataTable tbl = new ds_Reports.sp_DataTable(); 
        ds_ReportsTableAdapters.ta_Select ta = new ds_ReportsTableAdapters.ta_Select(); 
        int c = ta.Fill(tbl); 
        RadGrid1.DataSource = tbl
        RadGrid1.DataBind(); 
         
    } 
after click on btn_filter my datagrid fills by data,
but when i change order of columns or try to group my data table by drag & drop columns to grouping area,
my table claened and need to click  filter button again.
how i can solve my problem?


ehsan
Top achievements
Rank 1
 answered on 12 Sep 2009
1 answer
451 views
Hi,

I have RadBinaryImage controls in DataBound column in RadGrid.

I want to show a default  image if DataValue in Datasource is null.

(ie.) I need to set ImageUrl if DataValue is null.

Thans,
Sabarish.
Shinu
Top achievements
Rank 2
 answered on 12 Sep 2009
3 answers
160 views
I have a Radgrid that the first column is created with:
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" Width="100%" 
            AllowSorting="True" GridLines="None" Skin="Web20" OnNeedDataSource="RadGrid1_NeedDataSource" 
             OnSortCommand="RadGrid1_SortCommand" OnItemCreated="RadGrid1_ItemCreated" AllowPaging="true"   
             AutoGenerateColumns="False" > 
<MasterTableView > 
<Columns> 
                   <telerik:GridHyperLinkColumn DataNavigateUrlFields="EMPLOYEEID" DataNavigateUrlFormatString="~/Search.aspx?EMPLOYEEID={0}" 
                        DataTextField="EMPLOYEEID" HeaderText="ID" AllowFiltering="true" FilterControlWidth="35px" UniqueName="EMPLOYEEID">  
                        <HeaderStyle ForeColor="White" Font-Names="Arial Narrow" Font-Size="Small" />                  
                        <ItemStyle Font-Names="Arial Narrow" Font-Size="Small" Font-Bold="True" Font-Underline="True" /> 
                    </telerik:GridHyperLinkColumn> 
                    <telerik:GridBoundColumn DataField="IDENTIFIER" HeaderText="IDENTIFIER" SortExpression="IDENTIFIER" 
                        UniqueName="IDENTIFIER">  
                    </telerik:GridBoundColumn> 
.....  
</Columns> 
<PagerStyle Mode="NumericPages" PageButtonCount="10" /> 
</MasterTableView> 
The problem I am having is:
Radgrid1 is generated on page load and it is working correctly... appeared with the first column with hyperlink ability. Then I click other grid control such as next page or filtering... then the ID dissappeared. so the first column only showing me dashes (-).
Can anybody help me on how to fix this problem?
Thank you.
Princy
Top achievements
Rank 2
 answered on 12 Sep 2009
1 answer
264 views
Hi

I am setting the value of one of my GridBoundColumn in Client Side , that is getting displayed after setting, but I am not able to read the set value in server side. Below is my code snippet. Please let me know where i am getting wrong?

<!-- Setting value in Client Side -->

masterTable.getCellByColumnUniqueName(masterTable.get_dataItems()[i],

"ColumnUniqueName").innerText = "someText";

-----------------------------------------

Reading Server side in _NeedDataSource Event.....

 

string

 myVal = item["ColumnUniqueName"].Text.ToString();

 

 

myVal is coming &nbsp; for the GridBoundColumn which value is set through client side.

Please help.

Thanks in advance.
Arvind

Princy
Top achievements
Rank 2
 answered on 12 Sep 2009
1 answer
240 views
Hi,

I currently am using WebBlue as RadGrid's theme and below are the issues I found

1. Even though I set AllowMultiRowSelection="false" and <Selecting AllowRowSelect="false" />, but I still see highlight row selection. I want to remove hightlighted row selection after clicking on any row. How can I do that?
2. I want to select individual/multiple grid's cells in grid but turns out that the whole row is selected and it does not do any copy when I do CTRL+C and CTRL + V into Excel Spreadsheet.
3. How do I maintain Datetime format after pasting into Excel spreadsheet.

Thanks,
Sam
Shinu
Top achievements
Rank 2
 answered on 12 Sep 2009
2 answers
228 views
I am working with rad scheduler i struck at the following problem
  In my application there are list of holidays in that holidays i have made the scheduler disable(block the scheduler for those days,i.e;we cant create any appointment for those days).pls help
Ananya
Top achievements
Rank 1
 answered on 12 Sep 2009
1 answer
140 views
hi

My primary key field is a nvarchar and my table structure eg COL1(nvarchar(50)) PK, COL2(Nvarchar(50)),COL3(Nvarchar(50))

How do i insert a PK value when the Popup in EditMode shows only COL2 and COL3?

Your demo http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/threelevel/defaultcs.aspx where CustomerID is Nvarchar based. When i add a new customer, it would not allow me to add a PK value.

Thanks

 

 

 

 

Princy
Top achievements
Rank 2
 answered on 12 Sep 2009
1 answer
60 views
I have a query that I am using for the RadGrid and one of the columns is a bit value.  The bit value displays a check box; checked for true and unchecked for false.  Is there any way I can change from this text box to a yes/no or true/false display?  Thanks!
Princy
Top achievements
Rank 2
 answered on 12 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?