Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
136 views
I have a Hierarchical RadGrid with CommandItems to Add New, Refresh and Export to Excel. This was created in a class and then displayed onto a content page. I have also created a WorkFlow usercontrol that displays in a RadWindow intended to be used for the user to Add New and Edit the records. How can I change the AddNew command to launch a RadWindow containing the usercontrol? I know I can call a control from GridFormEditType but I would like to keep the window

Thanks
Tim
Top achievements
Rank 2
 answered on 24 Aug 2011
3 answers
80 views
Friends,

We have some legacy applications and we need to update them to use RadControls ASP.Net.

Is it possible? How can I do?

Thanks,
Welsinner.
Sebastian
Telerik team
 answered on 24 Aug 2011
2 answers
47 views
I have a request to change the color of days and make the days read-only based on today's date plus 10 days.

For example, today is August 22, I would like to change the color of days (or hide them) and make them read-only from September 1st back.

(August 22 + 10 days = Sept 1st)

Is this possible?

Thank you in advance.
Allan
Top achievements
Rank 2
 answered on 24 Aug 2011
1 answer
100 views
Hello,

We have a few pages that will use a grid with grouping enabled. However the visual design we have been given requires the expand collapse icon to appear above the first column in the grid. Is it possible to have grouping not add another column to the left of my grid columns?
Pavlina
Telerik team
 answered on 24 Aug 2011
1 answer
91 views
RadEditorSharePoint.dll!Telerik.SharePoint.SPRadEditor.VirtualResourceFolder.get()

This operation results in a security exception:
System.Security.SecurityException occurred
  Message=Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
  Source=mscorlib
  GrantedSet=<PermissionSet class="System.Security.PermissionSet

Will web parts run /w SharePoint default minimal trust?
Rumen
Telerik team
 answered on 24 Aug 2011
7 answers
123 views
I am trying to create my own custom filter like in the example outlined here:

http://www.telerik.com/help/aspnet-ajax/grid-custom-option-for-filtering.html

The only difference is that my column is a template column, What do i need to do? Thanks

Error on line: RadGrid1.MasterTableView.Rebind();
Telerik.Web.UI.ParseException was unhandled by user code
  Message=Expression expected
  Source=Telerik.Web.UI

ASPX
<telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column"
    HeaderText="Status" UniqueName="Status">
 
<FilterTemplate>
  <telerik:RadComboBox runat="server" ID="FilterCombo" DataSourceID="StatusList"
                       DataValueField="StatusID" DataTextField="Status" AutoPostBack="true"
                       OnSelectedIndexChanged="FilterCombo_SelectedIndexChanged">
  </telerik:RadComboBox>
</FilterTemplate>
 
    <EditItemTemplate>
        <telerik:RadComboBox ID="RadComboBox_StatusList" runat="server"
            AutoPostBack="true" DataSourceID="StatusList" DataTextField="Status"
            DataValueField="StatusID"
            OnSelectedIndexChanged="RadComboBox_StatusList_SelectedIndexChanged"
            SelectedValue='<%#Bind("StatusID") %>'>
        </telerik:RadComboBox>
    </EditItemTemplate>
    <ItemTemplate>
         <%#DataBinder.Eval(Container.DataItem, "Status")%>
    </ItemTemplate>
    <ItemStyle Width="240px" />
</telerik:GridTemplateColumn>


C#
protected void FilterCombo_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
    string filterExpression;
    filterExpression = "([Status] = '" + e.Value + "')";
    RadGrid1.MasterTableView.FilterExpression = filterExpression;
    RadGrid1.MasterTableView.Rebind();
}



Najid Hanif
Top achievements
Rank 2
 answered on 24 Aug 2011
1 answer
250 views
HI,

I am using RadAjaxManager which is present in the home page of our application. From any child page I require to call parent.Ajaxrequest through this manager. In this ajax requiest  I am required to update a hidden variable in the server side.. and in AjaxResponse end (JavaScript)  of the RadAjaxManager  I need to read the updated value of that hiidden variable.

Now when I update the hidden variable from server side while in the ajax request .. it seems the value has been updated but when I try to read the value from client side in ajax response end using document.getElementByID('hiddenFieldID') the updated value is not there..

I have also put in the id of hidden field in the RadAjaxManager as follows

<rad:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
            Style="position: absolute;">
            <ClientEvents OnResponseEnd="OnAjaxResponseEnd" OnRequestStart="noScroll" />
            <AjaxSettings>
                <rad:AjaxSetting AjaxControlID="RadAjaxManager1">
                    <UpdatedControls>
                        <rad:AjaxUpdatedControl ControlID="hdHiddenFieldID" />
                   </UpdatedControls>
                </rad:AjaxSetting>
            </AjaxSettings>
        </rad:RadAjaxManager>

Please let me know If I am missing any thing ? or do you have any work aroung for this Issue.
Andrey
Telerik team
 answered on 24 Aug 2011
1 answer
83 views
Hi,

I have relatively simple scenerio where I have to check some conditions before updating data. To manage data I'm using RadGrid with autoupdate. I would like to check some conditions before update (i.e. if the name already exists, if an issue date is greater then other max issue date in database etc.). What is the best practice to make such check and how to stop update if some conditions are not met?
I thought about SqlDataSource updating event but I don't know how to read values from controls in edit form of RadGrid. Maybe other event is much more efficient in this case. I appreciate your support in this case as well as snippet of example code is welcome.

Best Regards,

Darek   
Pavlina
Telerik team
 answered on 24 Aug 2011
7 answers
512 views
Hi,

I am creating a pdf programatically and then opening it in the browser.
I am doing this using

 response.BinaryWrite(pdfBytes);
 response.Flush();
 response.End();

It works fine when its not in a RadAjaxPanel but when it is inside the panel the document will not open.

Is there anyway to get it to work inside a RadAjaxPanel?

Thanks,

Ronan
Maria Ilieva
Telerik team
 answered on 24 Aug 2011
1 answer
184 views
In the form, I have a submit button, when clicked, it updates the panel in the ajax way.  However, I would like to exclude a LinkButton inside the panel from getting ajaxified, is there an easy way to achieve it?  Thanks

<asp:Panel id="MyPanel" Runat="server">
 ...
     <asp:LinkButton id="MyLink" Runat="server">
 ...
</asp:Panel>
<asp:Button Runat="server" id="SubmitButton">

<telerik:RadAjaxManager runat="server" ID="ram">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="SubmitButton">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="MyPanel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
Shinu
Top achievements
Rank 2
 answered on 24 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?