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

As per domo, There was no feature for ROW/Cell merge for RAD grid.

1. Does Rad Grid support Row/Cell merge?

Can you provide your suggestions how to achieve this functionalties.

Regards
Vasu
Pavlina
Telerik team
 answered on 01 Apr 2015
2 answers
151 views
I have attached two views of a standard menu with default Metro Touch skin and mobile rendering mode.

When activated, I am happy to see that there is a transparent effect which blends very well with my page element.

When closed, I would like to get rid of the gray background, leaving just the black slices.
Tomica
Top achievements
Rank 2
 answered on 01 Apr 2015
5 answers
480 views

Hi There,

I noticed that my images when inserted were using a relative path, so I added the MakeUrlsAbsolute content filter and that works fine. 

But I need my hyperlinks to stay exactly how entered.  So <a href="[:token:]"> stays and does not become <a href="www.mydomain.com/editor/[:token:].

Is this possible?
Kevin
Top achievements
Rank 1
 answered on 01 Apr 2015
3 answers
526 views
This seems like it should be an easy thing to figure out, but I haven't found a solution to my problem. I wire up a PivotGrid to a DataTable (which I store in Session State between calls) using the NeedDataSource event handler. I have a search form on my page with 7 different parameters for the stored procedure that I call within that method.

What I am finding is that the search button works the first time (on page load), but clicking the search button doesn't cause the data to be recalled again. I would think that the rebinding of the pivot grid would be straighforward, and would cause the NeedDataSource event to fire again. Because of the size of the dataset (potentially 45,000 records) I need to store it in session between calls.

What am I missing here? 

The search button only calls:

pvtCMStoG2.DataBind()

The NeedDataSource event looks like this:
 
Private Sub pvtCMStoG2_NeedDataSource(sender As Object, e As PivotGridNeedDataSourceEventArgs) Handles pvtCMStoG2.NeedDataSource
    'Get an assign the data source.
    pvtCMStoG2.DataSource = GetPivotGridData()
End Sub
 
 
Public Function GetPivotGridData() As DataTable
    'Decalre local variables.
    Dim myDataTable As New DataTable()
 
 
    'Check to see if there is anything in Session for this.
    If Session("ReconciliationTime") IsNot Nothing Then
        'Retrieve from session.
        myDataTable = CType(Session("ReconciliationTime"), DataTable)
    Else
        'Set up the connection.
        Dim m_strConnectionString As [String] = ConfigurationManager.ConnectionStrings("SOREOConnection").ConnectionString
        Dim m_objConnection As New SqlConnection(m_strConnectionString)
 
        Dim m_objSQLCommand As New SqlCommand
        Dim m_cmdParameter As SqlParameter
 
        'Set the command properties.
        With m_objSQLCommand
            .Connection = m_objConnection
 
            'Set the command timeout value to wait indefinitely.
            .CommandTimeout = 0
 
            'Set the core properties.
            .CommandText = "[reconciliation].[cspCMStoG2TimesheetValidation]"
            .CommandType = CommandType.StoredProcedure
        End With
 
 
        'Create and set the parameter values.
        m_cmdParameter = New SqlParameter 'With {.ParameterName = "BeginDate", .SqlDbType = SqlDbType.DateTime}
        With m_cmdParameter
            .ParameterName = "@BeginDate"
            .SqlDbType = SqlDbType.DateTime
 
            'Set the value.
            .Value = ctlBillingPeriodPicker.StartDate
        End With
 
        'Add the parameter to the commands.
        m_objSQLCommand.Parameters.Add(m_cmdParameter)
 
 
        'Create and set the parameter values.
        m_cmdParameter = New SqlParameter
        With m_cmdParameter
            .ParameterName = "@EndDate"
            .SqlDbType = SqlDbType.DateTime
 
            'Set the value.
            .Value = ctlBillingPeriodPicker.EndDate
        End With
 
        'Add the parameter to the commands.
        m_objSQLCommand.Parameters.Add(m_cmdParameter)
 
 
        'Create and set the parameter values.
        m_cmdParameter = New SqlParameter
        With m_cmdParameter
            .ParameterName = "@EmployeeID"
            .SqlDbType = SqlDbType.UniqueIdentifier
 
            'Set the value.
            If String.IsNullOrEmpty(ctlEmployeePicker.SelectedEmployeeID) Then
                .Value = System.DBNull.Value
            Else
                .Value = ctlEmployeePicker.SelectedEmployeeID
            End If
        End With
 
        'Add the parameter to the commands.
        m_objSQLCommand.Parameters.Add(m_cmdParameter)
 
 
        'Create and set the parameter values.
        m_cmdParameter = New SqlParameter
        With m_cmdParameter
            .ParameterName = "@CustomerID"
            .SqlDbType = SqlDbType.UniqueIdentifier
 
            'Set the value.
            If String.IsNullOrEmpty(ctlCustomerPicker.SelectedCustomerID) Then
                .Value = System.DBNull.Value
            Else
                .Value = ctlCustomerPicker.SelectedCustomerID
            End If
        End With
 
        'Add the parameter to the commands.
        m_objSQLCommand.Parameters.Add(m_cmdParameter)
 
 
        'Create and set the parameter values.
        m_cmdParameter = New SqlParameter
        With m_cmdParameter
            .ParameterName = "@FundingAgency"
            .SqlDbType = SqlDbType.VarChar
 
            'Set the value.
            If String.IsNullOrEmpty(ctlFundingOrganization.SelectedFundingOrganizationName) Then
                .Value = System.DBNull.Value
            Else
                .Value = ctlFundingOrganization.SelectedFundingOrganizationName
            End If
        End With
 
        'Add the parameter to the commands.
        m_objSQLCommand.Parameters.Add(m_cmdParameter)
 
 
        'Create and set the parameter values.
        m_cmdParameter = New SqlParameter
        With m_cmdParameter
            .ParameterName = "@TimesheetID"
            .SqlDbType = SqlDbType.Int
 
            'Assign the value
            If chkSingleTimesheetID.Checked = True Then
                .Value = radTimesheetID.Value
            Else
                .Value = System.DBNull.Value
            End If
        End With
 
        'Add the parameter to the commands.
        m_objSQLCommand.Parameters.Add(m_cmdParameter)
 
        
        'Create and set the parameter values.
        m_cmdParameter = New SqlParameter
        With m_cmdParameter
            .ParameterName = "@IncludeLastImport"
            .SqlDbType = SqlDbType.Bit
 
            'Assign the value
            .Value = chkIncludeLastImport.Checked
        End With
 
        'Add the parameter to the commands.
        m_objSQLCommand.Parameters.Add(m_cmdParameter)
 
 
        'Create and set the parameter values.
        m_cmdParameter = New SqlParameter
        With m_cmdParameter
            .ParameterName = "@ErrorsOnly"
            .SqlDbType = SqlDbType.Bit
 
            'Assign the value
            .Value = chkErrorsOnly.Checked
        End With
 
        'Add the parameter to the commands.
        m_objSQLCommand.Parameters.Add(m_cmdParameter)
 
 
 
        'Set up the DataAdapter
        Dim DataAdapter As SqlDataAdapter = New SqlDataAdapter
        DataAdapter.SelectCommand = m_objSQLCommand
 
 
        Try
            'Open the connection.
            m_objConnection.Open()
 
            'Fill the data adapter.
            DataAdapter.Fill(myDataTable)
        Finally
            'Close the connection.
            m_objConnection.Close()
        End Try
 
 
        'Add it to the session.
        Session("ReconciliationTime") = myDataTable
    End If
 
 
    'Return the final dataset.
    Return myDataTable
End Function
Viktor Tachev
Telerik team
 answered on 01 Apr 2015
3 answers
107 views
Recently installed the latest version of Telerik UI for ASP.NET AJAX Q1 2015 on a new machine with VS 2013

I had an already existing solution with multiple radgrids, which i working fine on another development environment.
For few of the radgrids, the css does not load properly.

Have attached the screenshots for the same for reference.

Dharmesh
Top achievements
Rank 1
 answered on 01 Apr 2015
3 answers
131 views
I'm using a RadAsyncUpload control with in Radwindow. My page have RadGrid, RadAjaxManager and the Radwindow. when any postback event is occur then i'm getting  script error. when i click on the grid page that time also getting this error. The radajaxloading panel is not goes out.  

In Master page code
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" ScriptMode="Release"></telerik:RadScriptManager><telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Skin="Default"></telerik:RadAjaxLoadingPanel>


in child page code

 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="panel1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="panel1" LoadingPanelID="LoadingPanel1"   />                                                  <telerik:AjaxUpdatedControl ControlID="grid1" />
                    <telerik:AjaxUpdatedControl ControlID="panel2" />
                </UpdatedControls>
            </telerik:AjaxSetting>
     </AjaxSettings>
</telerik:RadAjaxManager>

<telerik:RadWindow ID="RadWindow1" runat="server" Title="Settings" Width="500px" Height="350px" OnClientClose="refreshGrid">
    <ContentTemplate>
        <asp:Panel ID="panel1" runat="server">
           <telerik:RadAsyncUpload ID="AttachFiles" runat="server" InputSize="40" OnClientFileUploading="OnClientFileUploading"                  MultipleFileSelection="Automatic" OnClientValidationFailed="OnClientValidationFailed"                                            MaxFileSize="73400320" AllowedFileExtensions=".jpeg,.jpg,.png,.docx,.doc,.xlsx,.xls,.pdf">                                     </telerik:RadAsyncUpload>
       </asp:Panel>
    </ContentTemplate>
</telerik:RadWindow>

Ivan Danchev
Telerik team
 answered on 01 Apr 2015
1 answer
144 views
Hi,
Good Day!!!

Observed, telerik grid is supporting multiple .net frameworks, since our Application is in VS 2010 with asp.net 4.0 framework.

Could you please provide your inputs below points, if we choose Telerik Rad Grid.

1. Which version of Telerik grid is preferable?.Can we go for latest versions of telerik grid on the same.
2. is Grid feature supports all versions of telerik as per the their demos?.
3. Telerik sample code compatible all .net frameworks.

Regards
Vasu.
Viktor Tachev
Telerik team
 answered on 01 Apr 2015
1 answer
45 views
Rad image editor is not displayig button images correctly

<telerik:RadImageEditor ID="RadImageEditor1" runat="server" Skin="MetroTouch" RenderMode="Auto" ShowAjaxLoadingPanel="True" ToolBarPosition="Bottom">
             </telerik:RadImageEditor>

Any one got any ideas?
Vessy
Telerik team
 answered on 01 Apr 2015
2 answers
74 views


Hi,

I am using this control in my project, for creating the
appointment I am using my custom aspx page. For the new appointment/from the
menu option as well I am unable to call my custom aspx page. But during the
edit I am able to call my aspx page.

So, how do I open my custom aspx page both on new
appointment creation/from the context menu as well?

For achieving the above I try to use the below events but
there are not firing why??

<telerik:RadScheduler runat="server" ID="Scheduler" SelectedView="MonthView"

            FirstDayOfWeek="Monday" LastDayOfWeek="Friday" OverflowBehavior="Auto" DayEndTime="20:00:00"

            DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"

             Height=""StartEditingInAdvancedForm="false"

             Skin="Outlook"            OnClientAppointmentClick="OnClientAppointmentClick" OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick" OnClientAppointmentContextMenuItemClicked="ClientAppointmentContextMenuItemClicked" >

            <AdvancedForm Modal="false"></AdvancedForm>

            <WeekView ShowResourceHeaders="false" />

            <TimelineView UserSelectable="false" />

            <MonthView UserSelectable="True" />

            <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>

            <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>

        </telerik:RadScheduler>

 

And my javascript is

function OnClientAppointmentDoubleClick(sender, eventArgs) {

             try{

                 alert('Test');

                 var win = window.open('abc.aspx', 'Details');

                 win.center();

             } catch (e) {

                 alert(e.message);

             }

         }

         function ClientAppointmentContextMenuItemClicked(sender, args) {

             try {

                 alert('Test');

                 var win = window.open('abc.aspx', 'Details');

                 win.center();

             } catch (e) {

                 alert(e.message);

             }

         }

Thanks
Burepalli V S Rao
Top achievements
Rank 1
 answered on 01 Apr 2015
2 answers
116 views
Hi Quick question I am using the trail version to show someone that its worth while to purchase but when i use the RadImage editor it is coming up corrupt ie no images on the buttons. I wanting to show the resize image options automatically is their any option to allow this. As I am using this for student photos and is their anyway to set default resize sizes?.

http://snag.gy/NmeSY.jpg

<telerik:RadImageEditor ID="RadImageEditor1" runat="server" Visible="False" ToolBarMode="Docked">
 </telerik:RadImageEditor>
Vessy
Telerik team
 answered on 01 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?