Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
120 views
Hi,

I have a problem selecting a correct item, when filtering is used for the column. I have implemented similar project as described here:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultvb.aspx

My project uses the example code almost as is, except I have enabled filtering for the columns. When filtering is used and I try to move item from first grid to the other, a wrong item is moved. Also the filtering is lost in RowDrop event. It seems that NeedDataSource event takes place before the RowDrop event and automatically binds a non-filtered datasource to the grid. The RowDrop event then searches the item moved and wrong item is identified and moved.

I have two questions. How to avoid losing filtering in rowdrop event and how to fix the problem that causes wrong item to be selected from the source grid?

Thanks,
Veli-Pekka
Veli-Pekka
Top achievements
Rank 1
 answered on 03 Jan 2012
0 answers
80 views
Hi all, 

Please help me with this situation: I am using RadComboBox to combine data from database. When I type something in the textbox, RadComboBox will show the scroll with filtering data. It looks nice and works fine in normal case.

And when I embed the SEO by using Ionics URL Rewrite with the rule like this:

Rewriterule ^province-list.html provincelist.aspx [QSA,L,I]

(if user address to http:///www.abc.com/province-list.html; everything is fine)

This rule worked fine, radcombobox worked fine too. But when I define more rule like this:

Rewriterule ^products/(.*)/all.html products.aspx?cat=$1  [QSA, L, I]

and if user address to http://www.abc.com/products/home-decorate/all.html, the site worked normally but the RadCombobox did not work anymore. I mean, if I  browse the site with more 2 levels, and when I type something in the textbox of radCombobox, nothing shows in the scroll. 

I added the resource rule like:

RewriteRule (telerik.web.ui.webresource.axd.*) /$1 [I,L]
 
RewriteRule (webresource.axd.*) /$1 [I,L]
 
RewriteRule (scriptresource.axd.*) /$1 [I,L]

but it does not work too.

Please help me resolve this problem.

Thanks/


Tomy
Top achievements
Rank 1
 asked on 03 Jan 2012
4 answers
138 views
we buy your component and it is not working without javascript i m very angry telerik...i cannot use your component with javascript we buy your component to use without javascript but every component working with javascript i cannot use radwindow ....
and never buy telerik component...never!!! i will return to devexpress
that is not blackmail it is clearly my opinion
Bruno
Top achievements
Rank 2
 answered on 03 Jan 2012
3 answers
117 views
Hi,
i was going through your tutorial on AJAX which i download from "http://www.telerik.com/support/documentation-and-tutorials/step-by-step-tutorial-for-ajax.aspx"

In the "Having an Out-of-panel Experience with RadAjaxManager" chapter which i have completed, i notice my behaviour is different from what it is expected. When i first time click on the calendar on the AjaxCalendar, using RadAjaxManager, my RADLoadingPanel didnt show, but the datetime did shows in the label, when i click for the second time, the RADLoadingPanel show.

Is RADAJAX is not fully compatible with SharePoint 2010? Any know issue with the RAD tool with SharePoint?
Marin
Telerik team
 answered on 03 Jan 2012
10 answers
152 views
Hi. I've been developing a new site based heavily on your controls for ASP.NET AJAX. Because we only target one browser and it is an internal site we don't need to test for multiple browser and have a small target audience. We plan on moving to Windows 7 soon. Our current OS/browser is Windows XP with IE6. I've done some testing with Windows 7 and IE8 and on page load it seems to get stuck. It is hard to describe. The page partially loads and then halts, and the status bar at the bottom reads something like:

(2 items remaining) Downloading picture http://myserver/WebResource.axd?d=xxxxxxxxxxxxxxxxxxxxxx

I have tested it with Windows XP and IE8 and the page loads with no issues. We have a login page with some RadControls on it and a script manager and it loads okay. It is a much smaller page though. We are using masterpages, and it seems to not like that page as you can create a new page with nothing on it and include the masterpage and it still stalls on that. I have also tried switching between compatibility mode and normal and it doesn't fix the problem. Sorry for the vague description, but that's all I got!

Daniel
Bozhidar
Telerik team
 answered on 03 Jan 2012
1 answer
102 views
I would really like to see the ASP team to give us some controls/framework to build ASP apps that *Look* & feel like Win8 UI. They don't need to be touch sensitive or slide but more of a look. like this:
https://www.sellsbrothers.com/posts/Image/92

Any thoughts?

Thanks and Happy N.Y.!
Bozhidar
Telerik team
 answered on 03 Jan 2012
2 answers
274 views
Hi Team,
                  I'm using Telerik Rad Grid in my application, in which i'm facing an issue. I'm having an editing option in the grid in Double click event, here is the code. While I'm double click, it suppose to come to "RadGrid1_ItemDataBound" event, but its not firing the above event, instead off the grid is hiding

Find the Attached screenshots:
Page1.jpg ---> It is displaying the Grid with data.
Page2.jpg ---> When i double click on the row, then the grid is hiding and the "RadGrid1_ItemDataBound" Event is not firing.

Below is the Code for your reference
########################################################################################################
<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" EnableEmbeddedSkins="True"
                                            AllowSorting="True" OnDeleteCommand="RadGrid1_DeleteCommand" AutoGenerateColumns="False"
                                            Width="340px" OnItemDataBound="RadGrid1_ItemDataBound" AllowAutomaticUpdates="false"
                                            AllowAutomaticInserts="false" AllowFilteringByColumn="false">
                                            <MasterTableView DataKeyNames="RowNum,Option" EditMode="InPlace" GridLines="None" Width="100%" 
                                                    NoMasterRecordsText="No data fields to display.."
                                                HeaderStyle-HorizontalAlign="Center">
                                                <Columns>
                                                    <telerik:GridBoundColumn ReadOnly="true" DataField="RowNum" Visible="false" HeaderText="RowNum"
                                                        UniqueName="RowNum">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn ReadOnly="true" DataField="Option" HeaderText="Option" UniqueName="Option">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn ReadOnly="true" Visible="true" DataField="Values" HeaderText="Values"
                                                        UniqueName="Values">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn ReadOnly="true" HeaderText="ValuesWithCap" DataField="ValuesWithCap" UniqueName="ValuesWithCap" Visible="false">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn ReadOnly="true" HeaderText="Range Name" DataField ="RangeName" UniqueName="RangeName" Visible="true">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridButtonColumn CommandName="Delete" HeaderText="Delete" ButtonType="ImageButton"
                                                        ImageUrl="~/Images/btn/btn_delete.gif" UniqueName="Delete">
                                                    </telerik:GridButtonColumn>
                                                </Columns>
                                            </MasterTableView>
                                            <ClientSettings>
                                                <ClientEvents OnRowClick="RowClick" OnRowDblClick="RowDblClick" OnGridCreated="GridCreated"
                                                    OnCommand="GridCommand" />
                                            </ClientSettings>
                                        </telerik:RadGrid>





 <script type="text/javascript">
        
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
            
            function EndRequestHandler(sender, args) {
                if (args.get_error() != undefined) {
                        args.set_errorHandled(true);
                        location.reload(true);
                   
                }
            } 


            var hasChanges = false, inputs, dropdowns, editedRow;


            function TrackChanges(e) {
                hasChanges = true;
            }


            
            function RowClick(sender, eventArgs) {


                if (editedRow != null) {
                    hasChanges = false;
                    $find("<%= RadGrid1.MasterTableView.ClientID %>").updateItem(editedRow);
                }
            }
            function RowDblClick(sender, eventArgs) {
                editedRow = eventArgs.get_itemIndexHierarchical();
                    $find("<%= RadGrid1.MasterTableView.ClientID %>").editItem(editedRow);
            }
            function GridCommand(sender, args) {
                if (args.get_commandName() != "Edit") {
                    editedRow = null;
                }
            }
            function GridCreated(sender, eventArgs) {


                var gridElement = sender.get_element();
                var elementsToUse = [];
                inputs = gridElement.getElementsByTagName("input");
                for (var i = 0; i < inputs.length; i++) {
                    var lowerType = inputs[i].type.toLowerCase();
                    if (lowerType == "hidden" || lowerType == "button") {
                        continue;
                    }


                    Array.add(elementsToUse, inputs[i]);
                    inputs[i].onchange = TrackChanges;
                }


                dropdowns = gridElement.getElementsByTagName("select");
                for (var i = 0; i < dropdowns.length; i++) {
                    dropdowns[i].onchange = TrackChanges;
                }


                setTimeout(function() { if (elementsToUse[0]) elementsToUse[0].focus(); }, 100);
            }


        </script>


protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
    {
        DataRowView rowView = (DataRowView)e.Item.DataItem;
        if (e.Item is GridDataItem && e.Item.IsInEditMode)
        {
            int index = e.Item.ItemIndex;
            DataTable dt;
            string uniqueValues = string.Empty;
            ArrayList arrValues = new ArrayList();
            if (Session["RangeList"] != null)
            {
                dt = (DataTable)Session["RangeList"];
                DataRow dr = dt.Rows[index];
                this.txtRangeName.Text = dr["RangeName"].ToString();
                this.RCBOptions.SelectedValue = dr["OptionIndex"].ToString();
                uniqueValues = dr["ValuesWithCap"].ToString();
                this.hdnTempRangeId.Value = index.ToString();
                ViewState["hdnTempRangeId"] = index.ToString();
                arrValues.Add(uniqueValues.Split('^'));
                for (int i = 0; i < ((string[])(arrValues[0])).Count(); i++)
                {
                    RadListBoxItem lst = new RadListBoxItem();
                    lst.Text = ((string[])(arrValues[0]))[i].ToString();
                    lst.Value = ((string[])(arrValues[0]))[i].ToString();
                    UsrSelectedValueListBox.Items.Add(lst);
                }
                RadGrid1.DataSource = dt;
                RadGrid1.DataBind();
            }
        }
    }


Please give us a good solution for this issue ASAP. We need it urgently...

Thanks
Alexis
Alexis
Top achievements
Rank 1
 answered on 03 Jan 2012
4 answers
309 views
Hi all,
Can u avoid every time page is loaded when the radwindow is open or close?
please let me know
Princy
Top achievements
Rank 2
 answered on 03 Jan 2012
1 answer
230 views

Hi every body
I'm currently working with control RadGrid, my module I have 4 RadGrid, one of them has hierarchy, and when I want to work with the last RadGrid Control, it does not work, because when I press a icon from a column that  call a itemcommand event don't work it, don't make anything, i have the next code:

<telerik:RadGrid ID="grdInvitacionPos" runat="server" Skin="Windows7"
AutoGenerateColumns="False" Width="700px"
OnItemCommand="grdInvitacionPos_ItemComm">
<MasterTableView>
<Columns>
<telerik:GridTemplateColumn>
<ItemTemplate>
<asp:CheckBox ID="chkEnviar" runat="server" CausesValidation="false" />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="Compania"
HeaderStyle-HorizontalAlign="Center" HeaderText="Compañia">
<HeaderStyle HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Nombre"
HeaderStyle-HorizontalAlign="Center" HeaderText="Nombre">
<HeaderStyle HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="TipodeParticipante"
HeaderStyle-HorizontalAlign="Center" HeaderText="Tipo de Participante">
<HeaderStyle HorizontalAlign="Center" />
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Editar Correo">
<ItemTemplate>
<asp:ImageButton ID="send" runat="server" CommandName="Enviar" CausesValidation="false"
ImageUrl="~/images/DOER_IMAGES/delete.gif" />
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column">
</EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>




protected void grdInvitacionPos_ItemComm(object sender, GridCommandEventArgs e)
        {            
            GlobalNotify.Text = "item command";
            GlobalNotify.Show();
        }

I hope you can help me

Thak you for your attention

Good Day

Shinu
Top achievements
Rank 2
 answered on 03 Jan 2012
0 answers
155 views
Hi,

Question:
How to show update progress(image) in asp:wizard control?

I have following scenario:
In a content page, I have Wizard control, which contains user controls in the steps.
I want to show update progress in each steps of the wizard.
Which control is suitable for this purpose? e.g. asp:Updatepanel with radajaxloadingpanel or RADAJAXPanel with radajaxloadingpanel?
And can you please provide me example?

Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 asked on 03 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?