Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
130 views
hi All,
i am using hierarchical radgrid in my Application It is displaying proper records in hierarchical , in that grid i allow user to update Parent And Details(child) it is updating the my Parent Records well, but my problem is with details view when i click on update it is Updating that record , but it is showing that record in Edit mode even my edit command is successfully executed. i have attached my Problem jpeg file .
and i am using the following code to do this implementation

 
protected void RadGrid_AssignPlanner_UpdateCommand(object source, GridCommandEventArgs e)
    {
       GridEditableItem editedItem = e.Item as GridEditableItem;
 
            //Update Order By OpprtunityID
            RadComboBox rcbEmployee = editedItem.FindControl("rcbEmployee") as RadComboBox;
            Label lbl_OpportunityID = editedItem.FindControl("lbl_OpportunityID") as Label;
 
            if (rcbEmployee!=null)
                if (UIHelper.IsNumeric(rcbEmployee.SelectedValue))
                    EmployeeID = int.Parse(rcbEmployee.SelectedValue);
 
            if (lbl_OpportunityID!=null)
                if (UIHelper.IsNumeric(lbl_OpportunityID.Text))
                    OpprtunityID = int.Parse(lbl_OpportunityID.Text);
 
            if(EmployeeID>0 && OpprtunityID>0)
                UpdateOrderByOpprtunityID(OpprtunityID, EmployeeID);
 
 
            //Update Order By OrderID
            RadComboBox rcbOrderEmployee = editedItem.FindControl("rcbOrderEmployee") as RadComboBox;
            Label lbl_OrderID = editedItem.FindControl("lbl_OrderID") as Label;
             
            if (rcbOrderEmployee != null)
                if (UIHelper.IsNumeric(rcbOrderEmployee.SelectedValue))
                    EmployeeID = int.Parse(rcbOrderEmployee.SelectedValue);
 
            if (lbl_OrderID != null)
                if (UIHelper.IsNumeric(lbl_OrderID.Text))
                    OrderID = int.Parse(lbl_OrderID.Text);
 
            if (EmployeeID > 0 && OrderID > 0)
                UpdateOrderByOrderID(OrderID, EmployeeID);
 
            RadGrid_AssignPlanner.Rebind();
    }

the ASPX file code is

<telerik:RadGrid  ID="RadGrid_AssignPlanner" runat="server"
                        AllowMultiRowEdit="true"
                        AllowSorting="true" AllowAutomaticUpdates="true"
                        AllowPaging="true" PageSize="30"
                        AllowMultiRowSelection="true"
                        OnNeedDataSource="RadGrid_AssignPlanner_NeedDataSource"
                        OnItemCommand="RadGrid_AssignPlanner_ItemCommand"
                        OnItemDataBound="RadGrid_AssignPlanner_OnItemDataBound"
                        OnDetailTableDataBind="RadGrid_AssignPlanner_DetailTableDataBind"
                        OnUpdateCommand="RadGrid_AssignPlanner_UpdateCommand"
                        OnItemUpdated="RadGrid_AssignPlanner_ItemUpdated">
                         
            <MasterTableView DataKeyNames="OpportunityID" EditMode="inplace">
                <Columns>My Parent table columns </Columns>

<DetailTables>
            <telerik:GridTableView DataKeyNames="OrderId"  
                    ExpandCollapseColumn-ButtonType="PushButton" EditMode="InPlace" >
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="OpportunityID"
                            MasterKeyField="OpportunityID" />
                </ParentTableRelation>
                <Columns> Child table Column </Columns>

plz tell solution
Iana Tsolova
Telerik team
 answered on 14 Oct 2010
3 answers
79 views
Attached is just one example of styles being lost on your controls.  The attached example is a rad filter where styles are being lost in the dropdown of it.  I have had more controls do this exact same thing...panelbar,datepicker, datetimepicker.  I seriously need a solution for this!  It happens randomly on IE 8.  I know about the stylesheet limit, etc....is there a way to solve this?
FYI: I cannot send you a sample project of this, because it is way too big.
Thanks...
Sebastian
Telerik team
 answered on 14 Oct 2010
7 answers
155 views
Can someone please tell me how I can keep the RadFormDecorator in my web page so that buttons appear with the Office2007 skin, but I want to remove the Hover/Out states.  Currently the text and size of the button changes when I hover over a button, I do not want the button to change size or look like the text is changing size, I just want the button to be decorated like office2007 without it changing size on Hover/Out.
Andre Myburgh
Top achievements
Rank 1
 answered on 14 Oct 2010
7 answers
123 views
im trying to use the upload component in a hosted environment and im getting this error

[HttpException]: The file '/Telerik.RadUploadProgressHandler.ashx' does not exist.

anyone help ?
Genady Sergeev
Telerik team
 answered on 14 Oct 2010
3 answers
188 views
hi..

i need some advice on Radsplitter layout.
here is code;

<center>
<telerik:RadSplitter ID="Radsplitter1" runat="server" Height="815px" Width="100%"
                    Skin="Black" PanesBorderSize="0" >
                    <telerik:RadPane ID="floatleftarea" runat="server" Width="22" Locked="True">
                        <telerik:RadSlidingZone ID="LeftSlidingZone" runat="server" Width="22">
                            <telerik:RadSlidingPane ID="RadSlidingPane2" Title="TOOLBAR" runat="server" Width="150"
                                Overlay="True">
                                TOOLBAR
                            </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane ID="LeftSlidingPane1" Title="USER SETTINGS" runat="server"
                                Width="250px" EnableResize="False">
                            </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane ID="LeftSlidingPane2" Title="INFO" runat="server" Overlay="True">
                                INFO</telerik:RadSlidingPane>
                        </telerik:RadSlidingZone>
                    </telerik:RadPane>
                    <telerik:RadPane ID="content" runat="server">
                        sample content image text etc..... sample content image text etc..... sample content
                        image text etc.....
                    </telerik:RadPane>
                    <telerik:RadPane ID="floatrightarea" runat="server" Width="22">
                        <telerik:RadSlidingZone ID="RightSlidingZone" runat="server" Width="22" SlideDirection="left">
                            <telerik:RadSlidingPane ID="RadSlidingPane6" Title="area" runat="server" Width="150">
                                area
                            </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane ID="RightSlidingPane1" Title="area" runat="server" Width="150">
                                area
                            </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane ID="RightSlidingPane2" Title="area" runat="server">
                                area
                            </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane ID="RightSlidingPane3" Title="area" runat="server"
                                Width="150">
                                area</telerik:RadSlidingPane>
                            <telerik:RadSlidingPane ID="RadSlidingPane1" Title="area" runat="server" Width="150">
                                area
                            </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane ID="RadSlidingPane4" Title="area" runat="server"
                                Width="150">
                                area
                            </telerik:RadSlidingPane>
                            <telerik:RadSlidingPane ID="RadSlidingPane5" Title="area" runat="server" Width="150">
                                area
                            </telerik:RadSlidingPane>
                        </telerik:RadSlidingZone>
                    </telerik:RadPane>
                </telerik:RadSplitter>

</center>














here is question..

how can i fix the size of content pane ,when press dock button of toolbar sliding zone .i want to content pane 's size fixed.but when i press to any floated sliding panes's dock button ,contentpane size changing.
any fix this?

thanks..
Tsvetie
Telerik team
 answered on 14 Oct 2010
5 answers
196 views
Hi,

I have a radwindow that I am using to edit items in a radgrid (loaded using the javascript GetWindow() from the examples). This radgrid is in a usercontrol and is loaded dynamically in the main page. The main page controls (including this usercontrol) is then connected to a timer that refreshes the page every 60 seconds using ajax manager (timer is set as the main control and the user control is set as the updated control)
Problem is, when the refresh happens, the radwindow is cleared away and from then on will not load or display on the page.

I have tried various ways to get this working using one that I thought should work was putting in a javascript function to get the client ID in the main page and calling this function from the user control (which does return the timer control) and then setting the disabled property to false. Issue with this is, I get the control fine, set it to disabled but still the timer is ticking away and continues to refresh. 
I have been working on this issue for a couple of days now and would really appreciate a quick response. 

Many thanks!
Linda
Linda
Top achievements
Rank 1
 answered on 14 Oct 2010
6 answers
129 views
I didn't want to put this in a support ticket as it isn't a big deal and isn't a show stopper as I am sort of pushing the control to it's limits (i think) but I thought it should be noted somewhere... So here it goes:
 
I was playing around with the new tag cloud control and I came across a strange problem. When I create a tag cloud with a large quantity of items, the page renders fine in any image based browser, but when I attempt to browse the page with a text based browser like Lynx or hit the page with GoogleBot, the page errors out with an exception.

In my test scenario, I grabbed a list of Chicago neighborhoods (yes I know 216 items is a little silly for a tag cloud, but as I said I am pushing the control to its limits), and stuck them into the tag cloud, giving each a url and weight.

I then tested the page in all the popular browsers( IE 8, F.F., Safari, Chrome and Opera) and had no problems with the page and it rendered properly.

I then attempted to view the page with Lynx and I got the following exception:

[ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: value]
   System.Web.UI.WebControls.Unit..ctor(String value, CultureInfo culture, Unit Type defaultType) +8671148
   System.Web.UI.WebControls.FontUnit..ctor(String value, CultureInfo culture) +215
   System.Web.UI.Html32TextWriter.ConvertToHtmlFontSize(String value) +71
   System.Web.UI.Html32TextWriter.OnStyleAttributeRender(String name, String value, HtmlTextWriterStyle key) +98
   System.Web.UI.HtmlTextWriter.FilterAttributes() +86
   System.Web.UI.HtmlTextWriter.RenderBeginTag(HtmlTextWriterTag tagKey) +8647477
   System.Web.UI.Html32TextWriter.RenderBeginTag(HtmlTextWriterTag tagKey) +436
   Telerik.Web.UI.RadTagCloud.RenderItems(HtmlTextWriter writer, RadTagCloudItemCollection items) +261
   Telerik.Web.UI.RadTagCloud.RenderContents(HtmlTextWriter writer) +188
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +32
   Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer) +63
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +596
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266

I also attempted to use Google's webmaster tools to test the page with GoogleBot, and the result was "Unreachable".
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 14 Oct 2010
1 answer
90 views
Througout our project when I mouseover a standard RadComboBox a gray bar - looks like a cropped image - displays just below the combobox.

Clicking on the dropdown arrow displays the list correctly...its just this odd behavior on the mouseover I'd really like to solve.

Thanks for any help on this issue!

Kalina
Telerik team
 answered on 14 Oct 2010
1 answer
197 views
Hi,

Is there a way to make the RadListView InsertItem behave like the EditItem? What I mean is I use a list view with a pagesize of 1.
When I use the Edit functionality, the EditItem replaces the current Item displayed (while editing). When I
try to use the Insert functionality the InsertItem shows up either below or above my current Item displayed, I would like
the InsertItem to replace the current Item displayed (while inserting), much like the edit item..

Regards,
-Carlo
Dimo
Telerik team
 answered on 14 Oct 2010
1 answer
63 views
hi,
I have a grid with group panel. I want to change the group panel style when the user  drag a column to group , and he can drop to group.

how i can do it?
(i want to change the back color or something like)

thanks.




Iana Tsolova
Telerik team
 answered on 14 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?