Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
110 views
I have two RadComboBox controls in my RadGrid CommandItemTemplate.  When I rebind the grid in the _TextChanged events of these two comboboxes (used to filter the grid), I get postback errors.  This didn't happen prior to the service pack.  Any thoughts?

Thanks,
Michelle
Veselin Vasilev
Telerik team
 answered on 01 Sep 2008
1 answer
90 views
Hi

I am using Telerik controls 2008 Q2 (will get SP1 in a few days).

We are creating a rather large website and we are minimising the use of UpdatePanels to increase the user experience. This does mean a lot of Javascript and the use of PageMethods / WebServices but it's worth it.

The RadControls client side functionality with the new client-side grid databinding are making our pages extremely fast.

Some of our pages are huge so we only render a portion of the screen and then use a load-on-demand approach to minimise the initial load time.

However in some our instances load-on-demand can request a lot of HTML (sometimes over 100Kb!).

So I have 2 questions:

1. I realise that Telerik controls can't be created client-side, but are there plans for this to be implemented? (I don't know what I'm asking here as I'm not a control developer). Creating such controls in Javascript would certainly reduce the need for UpdatePanels.

Or...

2. I understand that being web controls I just can't use a PageMethod approach to get HTML as Javascript, etc. is also required. But can such an approach work? Or is the UpdatePanel the only way to go?

I suppose it never hurts to ask.


Kind regards

Mark Eaton
Ivo
Telerik team
 answered on 01 Sep 2008
1 answer
174 views
hi,

I want to update IFrame content after particular interval.
I have seen your demo example which updates a grid after particular interval but when I set the update control to iFrame, browser looks like it is postbacking the page.

Is there any solution which replaces post back to ajaxrequest/update.

Thanks,

Divyesh Chapaneri
Yavor
Telerik team
 answered on 01 Sep 2008
1 answer
222 views

hi. looked at the sample page here . http://demos.telerik.com/aspnet/prometheus/Window/Examples/BrowserDialogBoxes/DefaultVB.aspx .
don't get it. well... I get it just not in how to use it for my issue.
Simple issue. confirm record deletion from a formview.
the setup.
container.aspx has radwindowmanager and radajaxmanager (controls the radtabstrip and radmultipage). Rad multipage has my ascx grid/form pages
within myform.ascx I have a formview / editItemTemplate.

    <asp:Button ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete" 
            Text="Delete" OnClientClick="radconfirm('Are you certain you want to delete this?');return false; "></asp:Button> 
    </EditItemTemplate> 

The issue.
the radconfirm raises the confrm dialoge, however, clicking OK does not result in record deletion. If I remove return false;  it deletes the record regardless of the button clicked.
What am i doing wrong ? Do I need to trap the confirmation back in JS? And if so, how do i tell page to proceed with the deletion? Sorry if this is a stupid question.. I just don't understand how to get this to work.

Georgi Tunev
Telerik team
 answered on 01 Sep 2008
1 answer
123 views
Hi,

I guess I have some understanding issue concerning the RadGrids SubObject databinding. I have bound a RadGrid to a LinqDataSource which works perfectly out of the box. One of the object members is a relationship which is represented by a foreign key on the db. Now I want to bind the corresponding colum of the RadGrid to the "Name" field of the object which is referenced via the relationship.
If I understand the documentation correctly, I have to do this via the GridBoundColumn's DataField attribute. There I put "Product.ProductName" but the column remains empty.

What could be my mistake?

Best regards,
Robert
Vlad
Telerik team
 answered on 01 Sep 2008
1 answer
137 views
Dear Sir,

I use isEmpty (client-side script) to check is input box empty or not...
However, if I type a invalid value (therefore, input box is not empty anymore), the isEmpty still returns true...

              if(!dpDelivery1.isEmpty() && date1 == null)
              {
                    alert("Invalid Input");
                    return false;
              }


For my suggestion, Telerik could provide a isError function for validating input value.  That's be more easier.
Dimo
Telerik team
 answered on 01 Sep 2008
4 answers
199 views
Team,
            I am developing a page which needs to refreshed after some moments.
Scenario:
Page will have a grid with some 10 Steps and column 'Active'(by default it will be no) and a asp:button. After clicking the button i am executing a procedure in database it may take 5 - 10 min. This procedure executes step by step say step 1,step2 .......step10. 

Now i want to show the user about the step status, just like a installer.
 

Quick help in this regard would be appreciated


Thanks
       
Chinna
Top achievements
Rank 1
 answered on 01 Sep 2008
5 answers
185 views
I have added this toolbar to a radgrid where I have all the action with the data below in radgrid at top as toolbar. This toolbar even though I clearly state that

Orientation="Horizontal"

It doesnt show as HOrizontal it is till vertical. And I have tried different skins (vista as mentioned in demos)

Can somebody help here...    Here is the code


<telerik:RadGrid ID="RadGrid1" AllowAutomaticUpdates="True" AllowAutomaticDeletes="True"
                    Skin="Office2007" Width="97%" AllowSorting="True" AllowPaging="True" GridLines="None"
                    runat="server" ShowFooter="True" AllowMultiRowSelection="True" PageSize="7" AllowMultiRowEdit="True">
                    <PagerStyle Mode="NextPrevAndNumeric" />
                    <MasterTableView Width="100%" GridLines="None" CommandItemDisplay="Top" EditMode="InPlace"
                        HorizontalAlign="NotSet" DataKeyNames="Id">
                        <RowIndicatorColumn Visible="False">
                            <HeaderStyle Width="20px" />
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn Resizable="False" Visible="False">
                            <HeaderStyle Width="20px" />
                        </ExpandCollapseColumn>
                        <EditFormSettings>
                            <PopUpSettings ScrollBars="None" />
                        </EditFormSettings>
                        <CommandItemTemplate>
                            <telerik:RadToolBar ID="RadToolBar1" Orientation="Horizontal" Skin="Vista" runat="server"
                                Width="100%" OnButtonClick="RadToolBar1_ButtonClick">
                                <Items>
                                    <telerik:RadToolBarButton Text="Update" CommandName="UpdateEdited" ImageUrl="~/ToolBar/Examples/ApplicationScenarios/GridCommandItem/Images/Update.gif"
                                        Visible='<%# RadGrid1.EditIndexes.Count > 0 %>'>
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Content Verified">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Assign Sales Person">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Send Message">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton Text="Refresh" CommandName="RebindGrid" ImageUrl="~/ToolBar/Examples/ApplicationScenarios/GridCommandItem/Images/Refresh.gif">
                                    </telerik:RadToolBarButton>
                                </Items>
                            </telerik:RadToolBar>
                        </CommandItemTemplate>
                    </MasterTableView>
                    <ClientSettings>
                        <Selecting AllowRowSelect="True" EnableDragToSelectRows="True" />
                    </ClientSettings>
                </telerik:RadGrid>
Erjan Gavalji
Telerik team
 answered on 01 Sep 2008
1 answer
75 views

Following control is not working properly in Firefox 3.0 (it is working properly in IE 6.0, 7.0 and Firefox 2.0).

RadAjaxPanel

ImageButton with RadAjaxManager

RadPanelBar with RadAjaxManager

Please give me your suggestions ASAP.

Vlad
Telerik team
 answered on 01 Sep 2008
6 answers
189 views
Hi

I am using RadGrid 2008 Q2.

I find that the client-side databind of the grid is extremely well done. We are now doing far less postbacks to the server and because we do everything we possibly can on the client we are gaining a far richer user experience.

I have 3 questions:

1. I have noticed that if we start with a blank grid it defaults to loading 10 empty rows. This is far more when using a hierarchy as it seems to load an extra 5 rows for each master row. As such it can start with 50 rows!

Is there a reason for this?

Presently on the server when the page loads I bind to a dummy class object of just 1 row.

This way I have reduced the HTML response from 117Kb down to 50Kb.

Are there any implications to this? I haven't noticed anything break by taking this approach.


2. When adding items to the grid it all works nicely.. until I add an item past the initial HTML markup. E.g If I start with the default 10 rows, the 11th row is shifted to the right and the data is in all the wrong columns.

This happens as it seems the first 10 rows respect hidden (not invisible) columns but the 11th row onwards does not (in fact it will show the hidden columns).

A further consequence of this is that the hierarchy column (+/-) no longer shows.

How can I avoid this?


3. I couldn't find any examples for a hierarchal grid. At the moment I bind my detail grid in the RowDataBound() client event as it seems that the detail view doesn't automatically fire like it does on the server.

E.g.
if(e.get_item().get_owner().get_name() === 'VenueDetails') //MasterView
{
 var tableView = sender.get_detailTables()[e.get_item()._itemIndexHierarchical];

 // Bind detail to grid
 tableView.set_dataSource(e.get_dataItem().EventMisc);
 tableView.dataBind();
}

Is this the correct approach? I'm not comfortable with it as I am using a protected member: _itemIndexHierarchial.



Kind regards

Mark Eaton
Pavel
Telerik team
 answered on 01 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?