Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
220 views
Hi,
I have a RadGrid with delete and edit link as one of its columns. If i edit  a record, it opens in Editform on grid.
When working on edit form of rad grid if I click on Delete link on radgrid at the back of editform, it still performs the delete operation
even though one record is in edit mode.
following is the way by which I am declaring the Delete link.

 

<telerik:GridTemplateColumn UniqueName="DeleteColumn" ItemStyle-VerticalAlign="Middle" ItemStyle-HorizontalAlign="Center">

 

<ItemTemplate>

 

 

 

          <asp:LinkButton runat="server" CausesValidation="false" OnClientClick ="if (confirm('Are You Sure You Wish To Delete This Item?'))return true; else return false;"  CommandName="Delete" Text="Delete" ID="btnDelete" ForeColor="Blue"></asp:LinkButton> </ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

Please guide me how i can avoid this?

Thanks
Pinkey
Pinkey
Top achievements
Rank 1
 answered on 01 Jul 2009
2 answers
94 views
Hi

  I have a requirement in my application where the end user will need to export the Grid content to Excel sheet.
  My Dataset will have N number of tables.
  Is it possible to create differnt worksheets for all the Datatables in same excel??? How can i achieve that functionality through RAD Grid Export to Excel???
Different worksheet here referes to different tab with in the same EXcel spread sheet.
Your Earliest reply is appreciated

Regards
Bose Thirumalai

 
Bose
Top achievements
Rank 1
 answered on 01 Jul 2009
2 answers
80 views
Hi

  We are having problem with the RAD windowmanager after updating our DLL with the recent(2009.1.527) version.
  The Rad Window Manager CSS class is not applied as per out applications theme settings.
  The RAD Window manager themes were working proerply prior to updating this new DLL. Any idea or suggestion like which class would have caused this change.

I am able to see the customized color in the innerpart of the Dailogpopup (i.e the confirmation message and the Icon are having the Background color but i can see white background color in the other portiion of Rad windowmanager)

please suggest me some possibilities to find this change or let me know what is the new class that was changed with related to the Window control.
Your earliest reply is appreciated
Regards
Bose Thirumalai
Bose
Top achievements
Rank 1
 answered on 01 Jul 2009
12 answers
498 views
Is there a way to simply have a dropdown list of links?

Item One (Links to page one)
Item Two (Links to page two)
etc ...

Basically a combobox dropdown menu.
Tommy
Top achievements
Rank 1
 answered on 01 Jul 2009
1 answer
145 views
 
I have an issue adding a user control to the RadPanelBar (ajax) Q3 2008 version.

My markup is as follows:

 <div style="margin-left: 20px;">
        <telerik:RadPanelBar ID="ParameterPanels" ExpandMode="MultipleExpandedItems" runat="server" Skin="Web20" Width="95%">
            <Items>
                <telerik:RadPanelItem runat="server">  
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>
    </div>

In the code behind, I have the following code

                    foreach(ParameterControl aParameterControl in parameterControls)
                    {
                        // Load the parameter controls dynamically as long as we don't
                        // find a static value or data field parameter control
                        if(aParameterControl.ParameterControlID != 2 &&
                           aParameterControl.ParameterControlID != 29)
                        {
                                RadPanelItem panelItem = new RadPanelItem(aParameterControl.ParameterControlDescription);

                                Control c = Page.LoadControl(aParameterControl.ControlPath);

                                panelItem.Controls.Add(c);
                                ParameterPanels.Items.Add(panelItem);
                            }
                        }
                    }

and I end up with the following stacktrace

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.Web.UI.ControlItem.get_Index() +31
Telerik.Web.UI.RadPanelItem.get_IsFirstVisibleItem() +27
Telerik.Web.UI.RadPanelItem.DetermineCssClass() +37
Telerik.Web.UI.RadPanelItem.AddAttributesToRender(HtmlTextWriter writer) +39
System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +36
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +31
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
Telerik.Web.UI.RadPanelBar.RenderItems(HtmlTextWriter writer) +142
Telerik.Web.UI.RadPanelBar.RenderContents(HtmlTextWriter writer) +140
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +43
Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.Control.Render(HtmlTextWriter writer) +31
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +98
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +43
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +336
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +56
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.Control.Render(HtmlTextWriter writer) +31
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +234
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.Control.Render(HtmlTextWriter writer) +31
System.Web.UI.Page.Render(HtmlTextWriter writer) +39
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +596
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +129
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +53
System.Web.UI.Control.Render(HtmlTextWriter writer) +31
System.Web.UI.Page.Render(HtmlTextWriter writer) +39
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +74
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +291
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5428


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


further info:

Interestingly, if I change my markup to look like this, I don't get the error (I removed the first radPanelItem in the radPanelBar items collection)

 <div style="margin-left: 20px;">
        <telerik:RadPanelBar ID="ParameterPanels" ExpandMode="MultipleExpandedItems" runat="server" Skin="Web20" Width="95%">
        </telerik:RadPanelBar>
</div>

I would have thought that the control wouldn't be sensitive to an empty RadPanelItem but it obviously is. I would suggest that a null check is placed in the source for the next release around if that is the root of the issue.

Telerik.Web.UI.ControlItem.get_Index() +31
Telerik.Web.UI.RadPanelItem.get_IsFirstVisibleItem() +27

Thanks,

Sabry




Genady Sergeev
Telerik team
 answered on 01 Jul 2009
1 answer
73 views
Hello,

A user can change font/color/background-color of the selected text.

But do you provide a button/tool for a user to change the font/color/background-color of the whole text in the radEditor? I do not mean changing the appearance of the Iframe using CSS, but the apperance of the text returned after a Postback/Callback of the RadEditor.

It can be like adding a body tag with style around the html code.

Thanks for your help

Regards,

Frank Quinty
Rumen
Telerik team
 answered on 01 Jul 2009
0 answers
56 views
Hi,

I have recently downgraded from VS 2008 to VS 2005 and added RadControls Q1 2009 which works fine after I realised that the Telerik.web.ui.dll was  corrupted however I am unable to name any of the Control ids and I can't go along with its default Ids all the way.

Thanking you in advance.
Parodist
Top achievements
Rank 1
 asked on 01 Jul 2009
1 answer
154 views
Is it possible to have an separate CSS class when havi the input onfocus?
like have an other backgoundcolor when clicked in an inputfield.

Or even better, integrate it with validatecontrol and have an errorclass to been showed when the validate returns false on IsValid...

Perhaps this options could be made by another RAD control? Haven´t tried this...
Georgi Tunev
Telerik team
 answered on 01 Jul 2009
1 answer
90 views
Hello,

I am Trying the new EditorSplitButton. It's fine but I do not want to memorize the selected item. I would like to display the items list each I click on the tool , not only when I click on the arrow.

How can I clean (client-side) the memorization of the previous selected item of the EditorSplitButton.

I did not find any client-side documentation about EditorTool.

Thanks for your help

Frank Quinty
Rumen
Telerik team
 answered on 01 Jul 2009
1 answer
153 views
there seems to be a bad delay on page rendering when using the formdecorator.
Any ideas when we can expect this to be resolved. With this kind of delay the control is not usuable.

Thanks
Tervel
Telerik team
 answered on 01 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?