Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
130 views

Its possible to do this? make some changes in data row values (description or price columns for example) and then change the row order (swap the first and second rows values with radcontextmenu for example) . Sorry for my bad english.....

 

Thanks

Josep Ramon
Top achievements
Rank 1
 answered on 26 May 2016
1 answer
544 views

I have a UI within a RadWindow which includes a RadDatePicker and a RadGrid.  When I click the date popup icon for this RadDatePicker, the calendar will not display.  However, this is the same control definition I use inside a regular page. 

 

Inside the RadGrid is an Edit Form template with a RadDatePicker with the same issue.

Viktor Tachev
Telerik team
 answered on 26 May 2016
1 answer
594 views

We are using dynamic datasources (tables) to populate a Telerik RadGrid. The user can pick a table name from a combobox dropdown. Once they've picked the table, the grid is generated with the appropriate columns.

We would have used the "Automatic Data Source operations", but we can't since the DataSourceID isn't being specified on the grid (we allowing the user to pick which table they want to view/edit).

From the Telerik documentation: The automatic data source operations only work when binding the grid to a declarative data source using the DataSourceID property of the grid. You must configure the data source so that it supports the automatic operations.

How can we implement CRUD operations on a Telerik RadGrid that has a dynamic datasource? We're able to view the data in the grid now, but we're unable to Edit it. I don't know how/where to make the code changes to allow the Edit function to be dynamic.

Viktor Tachev
Telerik team
 answered on 26 May 2016
1 answer
682 views

Hi,

I have a radbutton which when pressed updates some profile variables and then redirects to another page. What I am trying to achieve is to have a new tab open when the button is pressed instead of the same tab redirecting to another page.

The radbutton is located within a GridTemplateColumns in a Ragrid if that makes a difference:

<telerik:RadButton ID="SelectC" runat="server" Text="Select" CommandName="Select"                                  CommandArgument='<%#Eval("Rulcode_Child")+","+ Eval("UIO_ID")+","+ Eval("PERSON_CODE")%>' >
</telerik:RadButton>

protected void gridEnrolmentsCourse_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
    if (e.CommandName == "Select")
    {
        string[] commandArgs = e.CommandArgument.ToString().Split(new char[] { ',' });
        Profile.Rulcode = Convert.ToInt32(commandArgs[0]);
        Profile.UIOID = Convert.ToInt32(commandArgs[1]);
        Profile.Percode = Convert.ToInt32(commandArgs[2]);
 
        if (ViewState["PreviousPage"] != null)
        {
            //Open new tab here somehow
            Response.Redirect(ViewState["PreviousPage"].ToString());
        }
    }
}

Mohammed
Top achievements
Rank 1
 answered on 26 May 2016
1 answer
129 views

Hi dear Telerik

I have a RadAjaxPanel and 3 RadTextBox in page . 3 RadTextBox fire TextChange event but when ajax happend tab order not work and focus out ! and i must click into another textbox !

is any way for fix it ?

thanks .

Viktor Tachev
Telerik team
 answered on 26 May 2016
1 answer
161 views

Hi dear Telerik

I want to enable Compression in my website . How can i do it ?

I use IIS 8 .

Another question : How can i do for performance in my website when using Ajax UI telerik ?

Thanks .

Viktor Tachev
Telerik team
 answered on 26 May 2016
1 answer
192 views

Hi dear Telerik

I dont want to use RadAjaxManager or RadAjaxPanel in my wbsite ,  beacause managment code is very hard !

how can use 100% client side ajax call when using AJAX UI ? 

For example i wana to use Jquery validatin instead  validation control (asp.net)  !

Is any Sample online or sample website that do it ?

please help me

thanks

Eyup
Telerik team
 answered on 26 May 2016
1 answer
163 views

All,

I am having problems with a radpanelbar in IE 11.  It works perfectly in firefox but most of my clients are on IE so I am hoping there is a setting somewhere that will help.  The radpanel is being used to break up a large form and I want everything expanded initially which works well.  So the layout is as follows:

<telerik:RadPanelBar ID="RadPanelBar1" Width="100%" AllowCollapseAllItems="true" runat="server">
    <Items>
          <telerik:RadPanelItem Text="Section 1" Expanded="true">
                <ContentTemplate>
                </ContentTemplate>
          </telerik:RadPanelItem>
          <telerik:RadPanelItem Text="Section 2" Expanded="true">
                <ContentTemplate>
                </ContentTemplate>
          </telerik:RadPanelItem>
                           ....
     </Items>
</telerik:RadPanelBar>

When the page loads in IE and I try to click on Section 1, Section 2 (or any of the following areas), the page jumps to the top of the radpanel and nothing has collapsed.  If I then click on Section 1, it collapses without any problems.  If I go back and expand all the sections and scroll down through the form and once again try to collapse a section, it again jumps to the top.  It will not let me collapse any section unless the window is scrolled so that the first section is at the top of the page.  In firefox, everything works perfectly. If in IE, the page is viewable within the browser without scrolling (I've closed all the big sections and only left small ones open) , then I can collapse/expand ok.  Problem is whenever the top of the radpanel is not visible or when the entire panel is not visible, then it has to jump to the top before I can collapse anything.  This happens regardless of IE compatibility mode.

I also tried wrapping the whole radpanel within an updatepanel, same results in IE.

Thanks for your help

Ken

Nencho
Telerik team
 answered on 26 May 2016
3 answers
86 views
I may be wrong, but I am hoping someone can comment on this issue. When creating complex tables with both a header row and a header column using the RadEditor, I noticed something that "appears" to be wrong. Perhaps you can clarify?

Although I created a table correctly, (went to accessibility, checked 1 for both the header row and column & checked the associated cells with headers checkbox) ... this is the code that get's spit out.

<table style="width: 50%; " class="tableData">
<thead><tr>
<th style="" id="table_heading_0"> </th>
<th style="" id="table_heading_1">2011</th>
<th style="" id="table_heading_2">2012</th>
</tr></thead>
<tbody><tr>
<th style="" id="table_heading_3">Fire</th>
<td headers="table_heading_1">5</td>
<td class="" style="" headers="table_heading_2">5</td>
</tr><tr>
<th style="" id="table_heading_4">Police</th>
<td headers="table_heading_1">5</td>
<td headers="table_heading_2">5</td>
</tr></tbody></table>

  1. Each header is assigned a unique ID (Correct!)
  2. Each header is identified with a <th> class (Correct!)
  3. Each non-header cell associates with just ONE header (INCORRECT! ... I assume)

Since there are two headers associated with each non-header cell, shouldn't there should be two IDs referenced in the "headers" attribute? Would the correct coding for this look something like this (each header ID separated by a space or comma)?

<table style="width: 50%; " class="tableData">
<thead><tr>
<th style="" id="table_heading_0"> </th>
<th style="" id="table_heading_1">2011</th>
<th style="" id="table_heading_2">2012</th>
</tr></thead>
<tbody><tr>
<th style="" id="table_heading_3">Fire</th>
<td headers="table_heading_1,table_heading_3">5</td>
<td class="" style="" headers="table_heading_2,table_heading_3">5</td>
</tr><tr>
<th style="" id="table_heading_4">Police</th>
<td headers="table_heading_1,table_heading_4">5</td>
<td headers="table_heading_2,table_heading_4">5</td>
</tr></tbody></table>

Wondering if I am interpreting this incorrectly...

Stanimir
Telerik team
 answered on 26 May 2016
1 answer
177 views

Hello, I've been asked to use RadScheduler (not RadGantt), more specifically its MonthView, to display task data that usually spans several days.

The MonthView requires FirstDayOfWeek = Sunday and LastDayOfWeek = Saturday. i.e. show weekends.

If I have an Appointment instance that runs from Wednesday to the following Tuesday, I want to see it displayed on Wednesday, Thursday, Friday, then Monday, Tuesday of the following week.

I've tried to use the RadScheduler1_TimeSlotCreated event handler to get e.TimeSlot.Appointments list and hide all Appointment instances but this approach isn't working:

Dim scheduler As RadScheduler = DirectCast(sender, RadScheduler)
If scheduler.SelectedView = SchedulerViewType.MonthView Then
    If e.TimeSlot.Start.DayOfWeek = DayOfWeek.Saturday OrElse e.TimeSlot.Start.DayOfWeek = DayOfWeek.Sunday Then
        For Each appt In e.TimeSlot.Appointments  
            appt.Visible = False
       Next
    End If
End If

Is this doable? Or will I have to break the multi-day task into daily recurring Appointment objects? I hope not since the task Subject can be lengthy and having only one Subject for several days fits nicely in MonthView. Thanks. Jo

Bozhidar
Telerik team
 answered on 26 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?