Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
62 views

Hello, in our project we use RadFilter Control.

This is a code from aspx file.

<telerik:RadFilter runat="server" ID="VehicleGridRadFilter" ShowApplyButton="True"  FilterContainerID="VehiclesRadGrid" >
<FieldEditors>
                        <telerik:RadFilterNumericFieldEditor FieldName="EmployeeID" DataType="System.Int32" />
</telerik:RadFilterNumericFieldEditor>
</FieldEditors>
 
<telerik:RadGrid ID="VehiclesRadGrid" runat="server" AllowSorting="True" AutoGenerateColumns="False"
        BackColor="White" BorderColor="#c3c3c3" BorderStyle="Double" BorderWidth="1px"
        CaptionAlign="Bottom" CellPadding="3" Width="926px" GridLines="none" AllowPaging="true" PageSize="25" OnNeedDataSource="VehiclesRadGrid_NeedDataSource"
        OnItemCommand="VehiclesRadGrid_ItemCommand" IsFilterItemExpanded="false" OnItemDataBound="VehiclesRadGrid_ItemDataBound">
      <MasterTableView DataKeyNames="VehicleID">
            <Columns>
                <telerik:GridBoundColumn DataField="Year" HeaderText="<%$Resources:PageContent,Global_Year %>" SortExpression="Year" DataType="System.Int32"
                    UniqueName="YearColumn" AllowFiltering="True">
                    <ItemStyle HorizontalAlign="Center" Wrap="True" CssClass="cellStyleBoth" />
                </telerik:GridBoundColumn >
 
…..
             </Columns>
       </MasterTableView>
       <ItemStyle CssClass="GridAlt" Wrap="True" />
        <SelectedItemStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
        <PagerStyle CssClass="GridPage" AlwaysVisible="true" Position="TopAndBottom" />
        <HeaderStyle CssClass="GridTitle" />
        <EditItemStyle Wrap="False" />
        <AlternatingItemStyle CssClass="GridAlt1" />
 </telerik:RadGrid>

Year in our model is System.Int32 property.

1)      How we can set Min/Max values for Year Filter? Or Catch momen when user input wrong value in filter?

2)      1-st question received because if user set Filter value to 999999999999999999999, Filter controls set value to 70368744177664, but we receive error javascript console message on page with control ('Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: =0G5=85 1K;> =54>?CAB8<> <0;K< 8;8 =54>?CAB8<> 1>;LH8< 4;O Int32.' when calling method: [nsIDOMEventListener::handleEvent])

We try play with this control on http://demos.telerik.com/aspnet-ajax/filter/examples/customeditors/defaultcs.aspx but if we insert 9999999999999999999999999 to EmployeeID filter, page show http://demos.telerik.com/ErrorPageResources/error.aspx?aspxerrorpath=/aspnet-ajax/filter/examples/customeditors/defaultcs.aspx

Thank you.

Pavel
Top achievements
Rank 1
 asked on 07 Jun 2012
2 answers
127 views
Hi,

is it possible to get the drag-drop feature shown here http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx to work inside Sharepoint connected to a Sharepoint-list? I've looked through the examples you have with the RadGrid in Sharepoint but the drag-drop doesn't seem to be there.

Best regards
Henrik - Sweden
Henrik
Top achievements
Rank 1
 answered on 07 Jun 2012
1 answer
39 views

Hello

I'm using ASP.NET AJAX Q1 2012 version. When I put two RadAsyncUpload on one page, and try to set enabled property on false, i receive some JavaScript error. It's working when there is only one RadAsyncUpload control. 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
  
        <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server">
        </telerik:RadAsyncUpload>
  
        <telerik:RadAsyncUpload ID="RadAsyncUpload2" runat="server">
        </telerik:RadAsyncUpload>

namespace test1
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            RadAsyncUpload1.Enabled = false;
            RadAsyncUpload2.Enabled = false;
        }
    }
}

error

Plamen
Telerik team
 answered on 07 Jun 2012
3 answers
156 views
Can someone please explain when to use RadSkinManager and ASP.NET Themes - I've been reading the documentation and it's not clear which should be used, if not both simultaneously. Can I get a clear explanation of how RadSkinManager works with ASP.NET Themes? This would be very helpful.

Thank you in advance.
Derek
Top achievements
Rank 1
 answered on 07 Jun 2012
1 answer
83 views
Greetings,

Im developing an application that uses RadGrid with a custom user control. Within this control, Im using a 2nd grid to display notes for the selected record in the 1st grid. The 2nd grid is using the the OnNeedDataSource event. How can pass the record ID opened in the 1st grid to the 2nd grid in the user control?
Andrey
Telerik team
 answered on 07 Jun 2012
8 answers
140 views
I am on a team developing an app using mostly the RadGrid and RadComboBox.  We want to provide users with the ability to email pages in the site as an attachement. We of course don't expect or allow any interaction after the page is mailed, just want the html to render what was already displayed, similar to a screen print.   We have done this in the past by using a public image and style folder and adjusting the paths so that when they open the attachment, the code pulls in the images and styles from the public folder on the same site.  We also strip out javascript and anything that could throw an error or cause the display to change. I got pulled in on this project and am brand new to Teleriks controls but the question is can I do the same thing with a page containing these controls?  Upon doing a minimal proof of concept, I did not get very far with this.  Is it possible and if so, how?
whit
Top achievements
Rank 1
 answered on 07 Jun 2012
4 answers
87 views
Is there a way to cancel the postback from the OnClientNodeEdited event handler for the OnNodeEdit server event?  I need to be able to selectively cancel this postback in the client code, but I haven't found a way that works yet.

There is no set_cancel() in the arguments passed.  Setting cancelBubble and returnValue on the window.event don't work.  Calling node.endEdit() or _cancelEvent() both throw an error.

I even tried setting the node's _originalText and _originalTextHtml to its _text value to see if it would keep it from being detected as modified.

Any suggestions would be welcome.
Marbry
Top achievements
Rank 1
 answered on 07 Jun 2012
3 answers
115 views
I have a RadTreeView on a page which I have coded as follows:

<telerik:RadTreeView ID="radTreeView" runat="server" Width="100%" AutoGenerateColumns="true" OnNodeClick="radTreeView_OnNodeClick">
<
WebServiceSettings Path="BuildTrgMP.aspx" Method="GetChildNodes" />

</telerik:RadTreeView>

I have coded the GetChildNodes webservice call on the server side and this all works fine: when the user clicks a + on the tree, the little whirly appears which the webservice is called to populate the tree, which it does so correctly.
What I want to do is the opposite situation: when the user clicks a - on the tree, I want it to invalidate everything under that node such that the next time the + is clicked, the webservice is again called so that the list is updated from the database.
At the moment clicking the + just reopens the list which has previously been cached in the browser and the webservice is not called to refill the list.
How do I use OnClientNodeCollapsing (or any other approach) to invalidate the list such that pressing + causes the webservice to be called again ?

Thanks
Graham Plowman

Plamen
Telerik team
 answered on 07 Jun 2012
4 answers
117 views
Hi,
  I have used RADEditor context menu functionality. I have provided some text and right click on RADEditor control, it shows IE popup menu and my context menu in background of IE menu. It behaves like normal asp.net extbox. I dont want to display IE popup menu in the control. How to implement this functionality?
Rumen
Telerik team
 answered on 07 Jun 2012
0 answers
94 views
Dear All 

I have a Total Quantity label at RadGrid Footer.

I want to highlight and then fade out the text when the Total value changed ?!

How to do such function using Javascript ?

To understand my need, check this link, check this effect "Fade, single direction, no memory"
 

Thanks
Noha
Top achievements
Rank 1
 asked on 07 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?