Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
52 views
Hello,.

    In my rad scheduler application , when i schedule the appointment it's looks fine on navigation, and all but problem occurred when i was tried to drag and drop, that time give problem.

          The start time and end time is updated proper but the recurrence rule is not update and the appointment is deleted on that day we was drag and drop. But next day is looks well with old schedule time..

 How to update recurrence rule and save into db ?

The recurrence rule is create when i drag drop... the EXDATE is automatically added and the appointment is not display on that days.. except that days appointment is display on screen... How to remove this. ?

DTSTART:20110313T080000Z  DTEND:20110313T090000Z  
 RRULE:FREQ=DAILY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU  EXDATE:20110315T080000Z,20110317T080000Z,20110318T080000Z  
 
  Why recurrence rule is not update properly....

 URGENT  !..................

Thanks
Regards
Rahul
Rahul
Top achievements
Rank 1
 asked on 16 Mar 2011
1 answer
42 views
I have a web user control with a RadSlider control in it.  I have created custom styles for the horizontal slider and it works perfectly fine when the user control is placed in a panel on our applicaton page.
I have created another web user control with the RadPanelBar control.  The items of the panelbar are web user controls that have the RadSlider.  If I leave the embedded base styles enabled on the panelbar, the slider styling breaks on the horizontal view.  The items still display my styles, but the slider becomes vertical.  This behavior is only reproduceable on IE, everything works perfectly fine in FireFox.  It appears that there are some style classes applied internally to the RadPanelBar that are overriding the styles of the RadSlider.

Please let me know what I can do to correct this problem.

Thank you,
Ed Sudit
Niko
Telerik team
 answered on 16 Mar 2011
1 answer
55 views
Hi Friends,

i have a problem with radgrid slider.
actually i am generating grid dynamically with the EnableEmbeddedSkins=False and  importing the related css to the page.

this works fine if i view the page in new window.

since where are loading external stage url in the telerik:RadPane.
the external page with radgrid slider skin fails here.

i have attached sample images below the first image show the page that is directly view in browser.
second images shows that the same page view from radpane.

Thanks


Galin
Telerik team
 answered on 16 Mar 2011
1 answer
90 views
Hi,

I am using an example of filtering between two dates in a radgrid. My issue is that when I enter the dates and click enter I get a postback and end up at my default.aspx. If I tab off I do get the desired effect of filtering of the grid and would like the same on clicking enter also. Im pretty new and could use any suggestions. 

Thanks
Maria Ilieva
Telerik team
 answered on 16 Mar 2011
1 answer
47 views
hey there,

I have a grid with bound columns and template columns.The default filtering that i've applied is working for gridBoundColumns but not for gridTemplateColumns.What should i do??...

thanks
Amit
Shinu
Top achievements
Rank 2
 answered on 16 Mar 2011
1 answer
1.6K+ views
Hi,

In my radgrid i used Radnumerictextbox. In this numeric textbox i need to display 4 decimal points like 0.0000 or 99.9999.
but if value is 99.9999, it show's like 9.9999. I need like "99.9999". (Two numbers before decimal point).

For this i taken property DecimalDigits="4".

<telerik:GridTemplateColumn UniqueName="perComplete" HeaderText="Percent Complete" AllowFiltering="false">
    <ItemTemplate>
       <telerik:RadNumericTextBox ID="pct" runat="server" Text='<%#Eval("pct") %>' MinValue="0" MaxValue="100" Width="50px">
          <NumberFormat AllowRounding="true" DecimalDigits="4" />  
       </telerik:RadNumericTextBox>
   </ItemTemplate>
</telerik:GridTemplateColumn>


Thanks,
Nagendra.
Martin
Telerik team
 answered on 16 Mar 2011
1 answer
53 views
Please see the attached file
I have created a chart
But I am unable to group the items.
Also I need to put a separator white line in between some items in chart series.
please help...
Also
I need to align the text of the label in the items of chart series to right of graph.
pls help
thanks in advance
Evgenia
Telerik team
 answered on 16 Mar 2011
1 answer
167 views
 Hi,

We used nested table in our radgrid to have a complex table structure ( Please see code below).

                   <telerik:GridTemplateColumn UniqueName="NoOfProviderColumnTemplate" HeaderStyle-Width="25%">
                        <HeaderStyle CssClass="rgHeader hasNestedTable" />
                        <HeaderTemplate>
                            <table class="nestedHeaderTable" cellspacing="0" datatable="0">
                                <tr>
                                    <td colspan="4" align="center"><b># of Providers</b></td>
                                </tr>
                                <tr>
                                    <td width="50%" align="center"><b>Required</b></td>
                                    <td width="50%" align="center"><b>Submitted</b></td>                                   
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <ItemStyle CssClass="hasNestedTable" />
                        <ItemTemplate>
                            <table class="nestedItemTable" cellspacing="0">
                                <tr>
                                    <td width="50%" align="center"><%# DataBinder.Eval(Container.DataItem, "ProvidersRequired")%></td>
                                    <td width="50%" align="center"><%# DataBinder.Eval(Container.DataItem, "ProvidersActual")%></td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>

In source code, radgrid renders code below:
<th scope="col" class="rgHeader hasNestedTable" style="font-weight: bold; text-align: center;">
                            <table class="nestedHeaderTable" datatable="0" cellspacing="0">
                                <tbody><tr>
                                    <td colspan="4" align="center"><b># of Providers</b></td>
                                </tr>
                                <tr>
                                    <td align="center" width="25%"><b>Required</b></td>
                                    <td align="center" width="25%"><b>Submitted</b></td>
                                     </tr>
                            </tbody></table>
</th>

A complex data table as it contains more than one logical level of headings. Currently the scoping technique (e.g. <th scope="col">) is being used to markup this data table when a more complex technique is required to properly associated each data cell to the appropriate headers. The way that the table is currently coded makes it extremely difficult for screen reader users to interpret its contents.

Our 508 team suggestions is list below:
1. Remove all scoping markup (e.g. remove all instances of <th scope="col">)
 2. Code the table using the headers and id attributes. For more information on how to implement this technique, refer to the following resources:
 WebAIM article:
 WCAG 2.0 Technique:
 
 3. Specify both column and row headers for the table.

Coz the th col scope is added by radgrid and there is no place for us to specify headers and id attributes, so I just want to ask if there is any solution to address this issue?

Thanks,
Wei

Maria Ilieva
Telerik team
 answered on 16 Mar 2011
2 answers
122 views
//calling this function inside an event
    public void loadGrid()
    {
      //looping for creating 31 columns
            for (int I_ColumnCount = 1; I_ColumnCount <= 31; I_ColumnCount++)
            {
                  
                GridTemplateColumn gridtemplatecolumn = new GridTemplateColumn();
                gridtemplatecolumn.ItemTemplate = new MyTemplate(Convert.ToString(I_ColumnCount));
                gridtemplatecolumn.HeaderText = Convert.ToString(I_ColumnCount);
                this.rg_Attendence.MasterTableView.Columns.Add(gridtemplatecolumn);
                ViewState["grid_DayCount"]=Convert.ToString(I_ColumnCount);
            }
    }
     
    public class MyTemplate : ITemplate
    {
        protected RadComboBox lblControl;
        public string colname;
        public MyTemplate(string cName)
        {
            colname = cName;
              
        }
        public void InstantiateIn(System.Web.UI.Control container)
        {
              
            lblControl = new RadComboBox();
            lblControl.ID = colname;
            container.Controls.Add(lblControl);
        }
    }
  
    //this function contains data which is retrieved from database and need to bind to rad grid and comboboxes(which are created inside rad grid dynamically)
    protected void loadEmployees()
    {
            RadComboBox lblControl = new RadComboBox();
             
            DataTable DT_Employee = new DataTable();
            DT_Employee = BLL.get_Attendance(_obj_Smhr_Attendance);
            if (DT_Employee.Rows.Count == 0)
            {
                 
                    rg_Attendence.Visible = true;
                    rg_Attendence.DataSource = DT_Employee;
                    rg_Attendence.DataBind();
                    for (i = 0; i <= rg_Attendence.Items.Count - 1; i++)
                    {
                        //here i am trying to bind data to comboboxes which are created dynamically inside rad grid
                        rcmbList = rg_Attendence.Items[i].FindControl("lblControl") as RadComboBox;
                        if (Convert.ToString(Convert.ToString(DT_Employee.Rows[i][3])) == "0")
                            rcmbList.SelectedIndex = rcmbList.FindItemIndexByValue(Convert.ToString("P"));
                        else if (Convert.ToString(Convert.ToString(DT_Employee.Rows[i][3])) == "1")
                            rcmbList.SelectedIndex = rcmbList.FindItemIndexByValue(Convert.ToString("L"));
                         
                    }
                }
                else
                {
                    rg_Attendence.Visible = false;
                    btn_Save.Visible = false;
                    btn_Finalize.Visible = false;
                }
            }
            else
            {
                _obj_Smhr_Attendance.OPERATION = operation.Check;
                _obj_Smhr_Attendance.ATTENDANCE_MODE = true;
                DT_Employee = BLL.get_Attendance(_obj_Smhr_Attendance);
                rg_Attendence.Visible = true;
                rg_Attendence.DataSource = DT_Employee;
                rg_Attendence.DataBind();
                for (i = 0; i <= rg_Attendence.Items.Count - 1; i++)
                {
                    //here i am trying to bind data to comboboxes which are created dynamically inside rad grid
                    lblControl = rg_Attendence.Items[i].FindControl("colname") as RadComboBox;
                    if ((Convert.ToString(Convert.ToString(DT_Employee.Rows[i][2]))).Trim() == "P")
                    {
                        lblControl.SelectedIndex = lblControl.FindItemIndexByValue(Convert.ToString("P"));
                    }
                    else if ((Convert.ToString(Convert.ToString(DT_Employee.Rows[i][2]))).Trim() == "L")
                    {
                        lblControl.SelectedIndex = lblControl.FindItemIndexByValue(Convert.ToString("L"));
                    }
                     
                      
                }
                 
            }
             
    }
}
on the index change of rad combobox arad grid must appear with dynamically created columns containing rad comboboxes and those comboboxes are to be binded with some data from database.the columns with comboboxes are coming but i am unable to bind with data. i am doing this programmatically using ITEMPLATE interface by inheriting in a class and calling InstantiateIn method.
help by sending or posting a code snippet.
thanks in advance
Anirud
anirud
Top achievements
Rank 1
 answered on 16 Mar 2011
6 answers
284 views
Hi,

Are multiple masks possible on a masked textbox?

I am taking a credit card as an input and only want to allow numbers and format them with the dash, but I also want to mask the first 3 sets of digits

Final output should look like: XXXX-XXXX-XXXX-1234

This gives me the numbers:

<0..9><0..9><0..9><0..9>-<0..9><0..9><0..9><0..9>-<0..9><0..9><0..9><0..9>-<0..9><0..9><0..9><0..9>

This gives me the mask:

XXXX-XXXX-XXXX-<0..9><0..9><0..9><0..9>

However, can I use a mask to restrict the first 3 sets as numbers or must I use a custom javascript validation routine for this?

Realistically this control should have a mask AND input restriction capability.

Thanks!

Paul





Veli
Telerik team
 answered on 16 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?