Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
112 views
Hi,

Since I installed the latest DLL every once in a while I get following like messages from our CMS global.asax

Invalid request:

http://insight1.fit2page.nl/ScriptResource.axd?d=gulyPHZXOGZL5-rjxhkl9Vz7n2E1jrd2D_udtJZ-ndFFosE9JcateControls(['tRadFileExplorer1$ajaxPanel'], [], [], 90);//]]>

Stack Trace:
bij System.Web.UI.Page.DecryptStringWithIV(String s, IVType ivType) bij System.Web.UI.Page.DecryptString(String s) bij System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString) bij System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection queryString, VirtualFileReader fileReader) bij System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context) bij System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) bij System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() bij System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The link is corrupted with data as you can see.

Any suggestions?

BR,

Marc

Rumen
Telerik team
 answered on 16 Feb 2010
1 answer
383 views
Hi,
       I wish to load a RadTreeView, which will populate form fields and then allow editing of these form fields. When the changes are made to the form field, we then will save the details away and re-load the tree with the new values. However I can't get the tree to appear in the same position as it was before updating, with the same node selected. How can I get to the required node and traverse to this node.

As you can see from my code I'm trying to get the text from the selected node before it is updated and then try and go back to this node, however the tree just shows the root nodes, with nothing expanded.       
Thanks in advance.


         if (Page.IsValid)
        {
            string SelectedText = RadTreeView1.SelectedNode.Text ;
            RadTreeNode MyNode = RadTreeView1.SelectedNode.ParentNode;

            //Get the parent node of the changed node
            if (MyNode != null)
            {
                while (MyNode.ParentNode != null)
                {

                    MyNode = MyNode.ParentNode;

                }
            }
            else
            {
                MyNode = RadTreeView1.SelectedNode;

            }


           // Change the underlying code
            Servizio.ServizioBase servizio = new Servizio.ServizioBase();
            rms.Category category = new rms.Category();
            category.Get(Convert.ToInt32(this.txt_id.Text));
            category.CategoryNo = Convert.ToDecimal (txt_CategoryNo.Text);
         
            category.save();

            // Reload the grid
            RadTreeView1.Nodes.Clear();
            LoadRootNodes(this.RadTreeView1, TreeNodeExpandMode.ServerSideCallBack);

             // find the node containing the value that was changed
            RadTreeView1.Nodes.FindNodeByText(MyNode.Text).ExpandMode = TreeNodeExpandMode.ServerSideCallBack;
            RadTreeView1.Nodes.FindNodeByText(MyNode.Text).ExpandChildNodes();


Schlurk
Top achievements
Rank 2
 answered on 16 Feb 2010
4 answers
311 views
Hello,

The users of an application I built using the scheduler are asking if there is anything that can be done about performance issues experienced with the scheduler control.  Their situation is that they have a slower connection to access this application wirelessly, but there have been complaints on a LAN too...

I'm not sure what is the issue, because I am not experiencing this problem...  is there any general performance tips of how to tweak performance of the scheduler, or are you aware of any common performance pitfalls?

In my scenario, I'm using the scheduler, and not using the inline template.  So I use a customized form I built for the advanced edit/insert form.

Thanks.
Mika
Top achievements
Rank 2
 answered on 16 Feb 2010
5 answers
208 views
hi to all expert on Telerik
                      Good Day!
                                       I would like to ask help from you guys who knows very well on this control coz i'm using a panelbar, now here's my question. when the user hover the mouse on the item on the panelbar the subitem will automatically drop. coz i have only a panelbar that will execute only on the click event, all i wanted is when user hover the mouse on the main item then automatically it will drop the subitem..like for example,

Car -- is the main item
    ford     -- this are the subitem
    honda
    bmw

Please help..

sample/codes is highly appreciated

Thanks
   
    
Kori
Top achievements
Rank 2
 answered on 16 Feb 2010
1 answer
93 views
Hi,

I use same sample as found in demo webside and have some troubles.
If i select the header checkbox items are correctly selected. If deselect this checkbox no action is performed in selected items.
I can't use the suggested ItemCreatedEvent lauching the ItemPreRender because in this case when select, only my last item is selected no others and deselecting from header checkbox is not working.

grid :OnNeedDataSource="PlanGrid_NeedDataSource"  OnItemCreated="PlanGrid_ItemCreated"OnUpdateCommand="PlanGrid_UpdateCommand"
Template
 <telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn"> 
                                                    <HeaderTemplate> 
                                                     <asp:CheckBox id="headerChkbox" OnCheckedChanged="ToggleSelectedState" AutoPostBack="True" runat="server"></asp:CheckBox> 
                                                    </HeaderTemplate> 
                                                    <ItemTemplate> 
                                                        <asp:CheckBox id="CheckBox1" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True" runat="server"></asp:CheckBox> 
                                                    </ItemTemplate> 
                                            </telerik:GridTemplateColumn> 
protected void PlanGrid_ItemPreRender(object sender, EventArgs e) 
    { 
        ((sender as GridDataItem)["CheckBoxTemplateColumn"].FindControl("CheckBox1") as CheckBox).Checked = (sender as GridDataItem).Selected; 
   
    } 
    protected void ToggleRowSelection(object sender, EventArgs e) 
    { 
        ((sender as CheckBox).Parent.Parent as GridItem).Selected = (sender as CheckBox).Checked; 
    } 
    protected void ToggleSelectedState(object sender, EventArgs e) 
    { 
        if ((sender as CheckBox).Checked == true) 
        { 
            foreach (GridDataItem dataItem in PlanGrid.MasterTableView.Items) 
            { 
                (dataItem.FindControl("CheckBox1") as CheckBox).Checked = true; 
                dataItem.Selected = true;                 
            } 
        } 
        else 
        { 
            foreach (GridDataItem dataItem in PlanGrid.MasterTableView.Items) 
            { 
                (dataItem.FindControl("CheckBox1") as CheckBox).Checked = false; 
                dataItem.Selected = false;    
            } 
        } 
    } 
protected void PlanGrid_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) 
    { 
        // this will make the textbox for customer with Week ALLS not editable 
        if (e.Item is GridEditableItem && e.Item.IsInEditMode) 
        { 
            if (e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["PriceUs"] != null) 
            { 
                (e.Item as GridEditableItem)["PriceUs"].Enabled = false; 
            } 
            if (e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["Week"] != null) 
            { 
                (e.Item as GridEditableItem)["Week"].Enabled = false; 
            } 
        } 
        //if (e.Item is GridDataItem) 
        //{ 
        //    e.Item.PreRender += new EventHandler(PlanGrid_ItemPreRender); 
        //} 
        //}  
    }  

u advice.
regards.

 
Veli
Telerik team
 answered on 16 Feb 2010
9 answers
136 views
hi,

i have a grid and want to choose the filter in the column with a Combobox in a Filter Template. But i dont know how i set the items in that combobox at pageload in the codebehind..

I want to make a visible image and maybe invisible text for the value. The image urls are in my database which i access with my datalayer. (all code behind)

Any ideas?

thx mario
Simon
Telerik team
 answered on 16 Feb 2010
1 answer
225 views
Hello,

I am using a RadGrid and have written some Javascript attached to the grid's OnCommand Client Event.  I am not sure how to get the active row of the grid from within the OnCommand client event.

Does anybody have any suggestions?

Thanks,
Dave
Schlurk
Top achievements
Rank 2
 answered on 16 Feb 2010
1 answer
128 views
Hi guys,

Is there a way to create PDFs on the fly using Telerik's APIs - not necessarily from a grid but by building the layout in code?

Rather than purchase a separate PDF component, I thought I'd check if there's a way to get at the functionality within the RadGrid.

Any tips, source code, or pointers are welcome.

Thanks,

Ken
Daniel
Telerik team
 answered on 16 Feb 2010
1 answer
128 views
Hello,
I would just notify a bug. It occurs in this situation: you use customvalidator in a radcombobox that has AllowCustomText="true". The client function associated to customvalidator is fired only when the radcombobox losts the focus, not when you click on submit button. If you set AllowCustomText="false" all works as espected (so the function is fired when radcombobox losts focus AND when you submit the page).

Bye
FL
Simon
Telerik team
 answered on 16 Feb 2010
3 answers
227 views
Hi,

I need to change expression based on server side value for a declarative grid. How to cast the GridCalculatedColumn OnItemDataBound to modify the expression values ?. Need to be edited?
 
Thanks.

Radoslav
Telerik team
 answered on 16 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?