Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
234 views
I would like to show an error message to user
when input validation fails on server side but
keep user on the same input screen with all
values he entered preserved. I know how it is done
using regular approach without Telerik controls. I can inject
javascript which will show DIV styled as a message box
with OK button and on top of other page layers. (kind of lightbox)

I just would like to know if Telerik has built in support for error message display
before I implement a custom error messaging like that.

Thank you.

Sebastian
Telerik team
 answered on 30 Aug 2011
1 answer
81 views
I have web application which perfectly works fine when i run through my local asp.net development server , but the problem is none of the radcontrols are responding when i run the same application through IIS7 , can i know what exactly the problem is?, should i make any explicit settings to make radcontrols works fine when run through the IIS7
Sebastian
Telerik team
 answered on 30 Aug 2011
1 answer
126 views
Hello,
How do I load the ListView in Insert Mode? The key is- I want only the InsertItemTemplate section to show. The itemTemplate and AlternatingItemtemplate should not be visible. Using RadListView1.ShowInsertItem()shows the rows that are returned along with the InsertItemTemplate.I do not want the rows to show.

Thanks.
Iana Tsolova
Telerik team
 answered on 30 Aug 2011
3 answers
114 views
Hi,

I am trying to persist a treeview's state purely using client side code
I am currently trying to use get_clientState & set_clientState and saveClientState & updateClientState, but with little success.

Currently all nodes are loaded via webservice (MVC) and use checkboxes

Do you have suggestions on the best way to accomplish this?

Thanks
Plamen
Telerik team
 answered on 30 Aug 2011
1 answer
144 views
Hi, 

I have searched for some posts regarding this same issue, but didn't find any solution.

How can I set a default value (for example, the first row) on a bound RadGrid?

Thanks, Rgds
Bruno
Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Aug 2011
1 answer
64 views
Hello!

I mistakenly put the wrong title: "RadGrid + AJAX Manager" is the right one so if the moderator could change that.

As no one replied me on the AJAX subforum I'm also posting it here...

I have two gridviews from which one generates the data source to another one. Both gridviews have ability to edit the item (row), but editing only works in first gridview (the one that generates data for the other one), when I click on edit in the second gridview nothing happens. I've been searching the web for a while and (I believe) found out that what I need is AJAX Manager.

I've checked couple of examples/Demos from Telerik's site, but I'm still not sure how to make editing in the second gridview work.

Both gridviews have edit forms inside and both gridview's edit form types are "WebUserControl".

Could someone help me out with some suggestions. Any help would be appreciated.
Iana Tsolova
Telerik team
 answered on 30 Aug 2011
1 answer
70 views
The track changes seems to work great except in one situation: 

If initially have something set to a class and then change that class it does not pick it up in the track changes. We use a bunch of custom classes and when someone changes/removes the class on something we would like it to show up in the track changes. Is this possible?
Rumen
Telerik team
 answered on 30 Aug 2011
8 answers
210 views
Hi,

I am using the scheduler Control, I would like not to provide the Hourly option in Recurrence pattern. Is there anyway can we do that.

Regards,
Rama
Plamen
Telerik team
 answered on 30 Aug 2011
2 answers
204 views
Hello

I create a RadGrid using AutogeneratedColumns, is that possible to set the width of the columns??

How can i do this?
Ricardo
Top achievements
Rank 1
 answered on 30 Aug 2011
21 answers
273 views
Hello people,

I have a problem on my RadGrid1. two of the grid columns are navigation properties...The problem is when i enter on the page, all columns fields has data.But when i click to sort those two columns came without values..

I have already verify that the list i'm using as DataSource, has allways those two columns with values...The problem is that when i sort the Grid comes without values on "Priority" and "Process" fields.....

That's my code (ASPX.CS)
protected void Page_Load(object sender, EventArgs e)
        {
            ObjectResult<SapDocuments> objectSapDocs;
  
            if (!this.IsPostBack)
            {
  
                this._presenter.OnViewInitialized();
  
                string user = Page.User.Identity.Name.Substring(Page.User.Identity.Name.IndexOf("\\") + 1);
                EscalonamentoFacturasEntities objectContx = new EscalonamentoFacturasEntities();
  
  
                objectSapDocs = objectContx.ShowUnprocessedInvoices(user);
                List<SapDocuments> listSapDocuments = new List<SapDocuments>();
  
                foreach (var item in objectSapDocs)
                {
  
                    listSapDocuments.Add(item);
                }
  
                ViewState["Data"] = listSapDocuments;
            }
            this._presenter.OnViewLoaded();
  
  
  
            if (ViewState["Data"] != null)
            {
  
  
                RadGrid1.DataSource = (List<SapDocuments>)ViewState["Data"];
  
            }
            else
            {
                RadGrid1.DataSource = null;
            }
  
  
            //RadGrid1.DataBind();
  
        }
  
        [CreateNew]
        public InvoicesScalePresenter Presenter
        {
            set
            {
                this._presenter = value;
                this._presenter.View = this;
            }
        }
  
protected void ShowProcessed_Click(object sender, EventArgs e)
        {
            ObjectResult<SapDocuments> objectSapDocs;
            string user = Page.User.Identity.Name.Substring(Page.User.Identity.Name.IndexOf("\\") + 1);
  
            EscalonamentoFacturasEntities objectContx = new EscalonamentoFacturasEntities();
  
            objectSapDocs = objectContx.ShowProcessedInvoices(user);
            List<SapDocuments> listSapDocuments = new List<SapDocuments>();
  
            foreach (var item in objectSapDocs)
            {
  
                listSapDocuments.Add(item);
            }
  
            ViewState["Data"] = listSapDocuments;
  
  
            if (ViewState["Data"] != null)
            {
  
  
                RadGrid1.DataSource = (List<SapDocuments>)ViewState["Data"];
  
            }
            else
            {
                RadGrid1.DataSource = null;
            }
        }
....

That's my ASPX Code:
<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" AllowPaging="True"
            AllowSorting="True" AutoGenerateColumns="False" Width="97%" enableajax="True"
            AllowFilteringByColumn="True" ShowFooter="True" Skin="Black" OnItemCommand="RadGrid1_ItemCommand"
            OnGridExporting="RadGrid1_GridExporting" AllowMultiRowSelection="True">
            <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
            <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" EnablePostBackOnRowClick="true">
                <Selecting AllowRowSelect="True" />
            </ClientSettings>
            <MasterTableView DataKeyNames="SequencialNumber" Width="100%" CommandItemSettings-ShowExportToCsvButton="True"
                CommandItemSettings-ShowAddNewRecordButton="false" CommandItemDisplay="Top">
                <Columns>
                    <telerik:GridBoundColumn DataField="SequencialNumber" HeaderText="SequencialNumber"
                        UniqueName="SequencialNumber" SortExpression="SequencialNumber">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Priorities.Priority" HeaderText="Priority" UniqueName="Priority"
                        FilterControlAltText="Filter Priority column" SortExpression="Priority"
                        DataType="System.Int32">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Staging.Process" HeaderText="Staging" UniqueName="Process"
                        SortExpression="Process" FilterControlAltText="Filter Process column">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="SupplierCode" HeaderText="SupplierCode" UniqueName="SupplierCode"
                        SortExpression="SupplierCode" FilterControlAltText="Filter SupplierCode column">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="MessageStatus" HeaderText="MessageStatus" UniqueName="MessageStatus"
                        SortExpression="MessageStatus" FilterControlAltText="Filter MessageStatus column">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DocumentType" HeaderText="DocumentType" UniqueName="DocumentType"
                        FilterControlAltText="Filter DocumentType column" SortExpression="DocumentType">
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn UniqueName="InvoiceCreationDate" DataField="InvoiceCreationDate"
                        HeaderText="InvoiceCreationDate" FilterControlAltText="Filter InvoiceCreationDate column"
                        SortExpression="InvoiceCreationDate">
                        <FilterTemplate>
                            <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
                            </telerik:RadDatePicker>
                        </FilterTemplate>
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn DataField="SupplierVatNumber" FilterControlAltText="Filter SupplierVatNumber column"
                        HeaderText="SupplierVatNumber" SortExpression="SupplierVatNumber" UniqueName="SupplierVatNumber">
                    </telerik:GridBoundColumn>
                </Columns>
                <ExpandCollapseColumn Visible="False">
                    <HeaderStyle Width="19px"></HeaderStyle>
                </ExpandCollapseColumn>
                <RowIndicatorColumn Visible="False">
                    <HeaderStyle Width="20px" />
                </RowIndicatorColumn>
            </MasterTableView>
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
            </HeaderContextMenu>
        </telerik:RadGrid>
Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?