Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
297 views
Good Day All

I have the following defination of a toolbar

               <telerik:RadToolBar runat="server" ID="RadToolBar1" style="overflow:visible;"
                        Skin="Telerik" Width="994px" Height="121px"
                        onbuttonclick="RadToolBar1_ButtonClick">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            <Items>
             <telerik:RadToolBarButton>
                    <ItemTemplate>
                      
                        <div style="padding-left:30px">
                        <asp:Image ID="imgo" ImageUrl="~/images/Picture3.png" runat="server" />
                        <asp:Image ID="imgMore" ImageUrl="~/images/Picture5.png" runat="server" />
                        <asp:TextBox ID="txtSearch" Width="500px"  Height="40px" runat="server" />
                        <asp:ImageButton ID="btnCancel" runat="server" ImageUrl="~/images/Picture11.png" Text="Cancel" />
                          <asp:ImageButton ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="Search" ImageUrl="~/images/Picture12.png" />  
                        <telerik:RadToolBarButton runat="server" IsSeparator="true"></telerik:RadToolBarButton>
                        <asp:ImageButton ID="btnAttach" runat="server" ImageUrl="~/images/Picture13.png" Text="Add" />
                        <asp:ImageButton ID="btnAdd" runat="server" ImageUrl="~/images/Picture8.png" Text="Add" />
                        <asp:ImageButton ID="btnconfig" runat="server" ImageUrl="~/images/Picture9.png" Text="Config" />
                        <asp:ImageButton ID="btnCommitChanges" runat="server" ImageUrl="~/images/Save All 2.png" Text="Config" />
                        <telerik:GridTextBoxColumnEditor ID="textboxc" runat="server"></telerik:GridTextBoxColumnEditor>
                        
             
                       </div>                     
                    </ItemTemplate>
                </telerik:RadToolBarButton>
  
            </Items>
        </telerik:RadToolBar>

and i want to retrieve the value of a textbox control name txtsearch  that is inside the item template, i have tried to retrieve it like this
TextBox txtseach = new TextBox();
 
txtseach =  (TextBox)Page.FindControl("txtSearch");
but my txtseach comes back as null , while i have entered a value


Thanks

Vuyiswa
Top achievements
Rank 2
 answered on 26 Jul 2010
2 answers
132 views
Dear Telerik,

I am having the RadGrid which is also having child details showing through hierarchical method of grid. I have the following doubts to Export the grid into Excel.

* Need to export the parent grid and hierarchical or child details only if it is expanded.
* I would like to show only the datas means columns and rows of parent and child rather than displaying the items like   filter,expand/collapse, add/referesh/edit buttons etc.
* I used the follwing block of code to export excel. But it seems i am not not getting the proper positin of the columns means columns showing right side and rows are showing left side of the excel sheet. It is also exporting all of the child rows from the grid eventhough i am not expanding all of them.
private void ConfigureExcelExport()
    {
        //ExportExcel configuration settings
        //rgPostingBill.MasterTableView.Caption = "PostingNotice Billing Report";
        RadGrid1.ExportSettings.FileName = "PostingNotice";
        RadGrid1.ExportSettings.IgnorePaging = true;
        //RadGrid1.ExportSettings.HideStructureColumns = true;
        RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;   
        RadGrid1.ExportSettings.ExportOnlyData = true;           
        RadGrid1.ExportSettings.OpenInNewWindow = true;
    }
 protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
    {
        if (isExcelExport)
        {
            if (e.Item is GridNoRecordsItem)
                e.Item.Visible = false;
  
            if (e.Item is GridCommandItem)
                e.Item.Visible = false;
  
            //if (e.Item is GridNestedViewItem)
            //    e.Item.Cells[0].Visible = false;
  
            //if (e.Item is GridDataItem)
            //{
            //    GridDataItem item = e.Item as GridDataItem;
            //    foreach (GridColumn col in e.Item.OwnerTableView.RenderColumns)
            //        if (!(col is GridBoundColumn))
            //            item[col.UniqueName].Visible = false;
            //}
        }
    }


Hope my above code and scenario is understandable.If so please let me know the possibilites.

-Thanks in Advance

Daniel
Telerik team
 answered on 26 Jul 2010
2 answers
115 views
My question is i have one check box .and one rad grid with combo box.(with value .P for present,A for absent ,L for leave)
when i checked check box that time  each combo box of rad grid have selected value should be 'P'
so.. how i can change  selection of all combos of rad grid on check box changed event.
rock
Top achievements
Rank 1
 answered on 26 Jul 2010
3 answers
339 views
Hi,

Can radgrit have more than 1 GridEditCommandColumn?

I already have 1 GridEditCommandColumn where I would display a sub section when clicked. But I need another GridEditCommandColumn because I have to have another sub section to display.

So for my radGrid, the GridEditCommandColumn A will show section A, and GridEditCommandColumn B will show section B.

However, I get an error when I put two GridEditCommandColumn. Is there a work around for this?


Please see attached pic for the example scenario.
Radoslav
Telerik team
 answered on 26 Jul 2010
2 answers
94 views

Hi.

I'm have RadGrid with 2 DropDownColumns. Then  i need third column with value, contains concatenated text-field(not value-field) from first 2 dropdown columns. How I can do it?

yerlan
Top achievements
Rank 1
 answered on 26 Jul 2010
1 answer
93 views
Hello There,

I want to know that any Controls in rad editor or any other way can i archive  comment operation  like Word files ??

please see attached file which i want to do in rad editor,

thank you.


Rumen
Telerik team
 answered on 26 Jul 2010
1 answer
144 views
Hi,

I have a requirement where I have to use Google like Filtered Text Box instead of Google like Dropdown box. It would be great if anyone sends some code for the same.

Thanks, Mulagundla
Sebastian
Telerik team
 answered on 26 Jul 2010
3 answers
147 views
Hello,

How does the ASP.NET MVC framework work with RadCompression?  Is there any extra special setup that's needed?  This would be for an IIS 6 server or even locally with IIS 5.1.

Thanks.
ajitha
Top achievements
Rank 1
 answered on 26 Jul 2010
1 answer
198 views
Hi,

I want to remove row from grid not from my database. When user click on Remove button then it just remove from my grid.

thanks
Daniel
Telerik team
 answered on 26 Jul 2010
3 answers
82 views
We are using IIS7, .Net Framework 3.5 and Telerik.web.ui.dll version 2010.1.415.35. 
In IIS we have configured a custom error handler for the 404 error.
This handler redirects to custom error pages. When using Radcompression the custom error pages does not return full html.
This works fine with Internet Explorer 8 but not with Firefox 3.5 and not in Chrome 4.1.  When viewing source code in Firefox or chrome it ends like this:
</form> 
</body> 
</ 
It works fine without RadCompression.

ajitha
Top achievements
Rank 1
 answered on 26 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?