Telerik Forums
UI for ASP.NET AJAX Forum
18 answers
1.4K+ views
Is it feasible to have a RadGrid that basically always has every row in edit/insert mode at all times, in essence removing the need of a method of selecting a row for editing?  If so, is there a demo that demonstrates this?

Thanks,
Aaron
Konstantin Dikov
Telerik team
 answered on 16 Oct 2014
5 answers
199 views
Unsure of how to fix the problem we currently are experiencing.  While running the project locally the PanelBar is expanded like we instruct it however when we publish it to production it no longer is expanded.  We have currently set all Panel items to be expanded.

I have included images to show what I am trying to accomplish (FullyExpanded).

Here is the snippet of code to show what would be displayed in the images.
<telerik:RadPane ID="Radpane12" runat="server" Scrolling="none">
    <telerik:RadSplitter ID="Radsplitter2" runat="server">
        <telerik:RadPane ID="Radpane1" runat="server" Width="300">
            <telerik:RadPanelBar runat="server" ID="RadPanelBar1" ExpandMode="FullExpandedItem" Width="300" PersistStateInCookie="True" Height="100%">
                <Items>
                    <telerik:RadPanelItem Text="Reporting Tools" Expanded="True" ImageUrl="images/Reporting-icon.png">
                        <Items>
                            <telerik:RadPanelItem ImageUrl="images/folder-icon.png" Text="Static Reports" Expanded="true">
                                <Items>
                                    <telerik:RadPanelItem ImageUrl="images/RT_FinStatement-icon.png" NavigateUrl="/Reports/StaticReports/ReportList.aspx?Show=financeStmt" Text="Financial Reports"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_CUTrack-icon.png" NavigateUrl="/Reports/StaticReports/ReportList.aspx?Show=cuTrack" Text="CU Tracking"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_Audit-icon.png" NavigateUrl="/Reports/StaticReports/ReportList.aspx?Show=audit" Text="Auditing"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_Underwrite-icon.png" NavigateUrl="/Reports/StaticReports/ReportList.aspx?Show=underwrite" Text="Underwriting"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_Acct-icon.png" NavigateUrl="/Reports/StaticReports/ReportList.aspx?Show=accounting" Text="Accounting"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_PriBill-icon.png" NavigateUrl="/Reports/StaticReports/ReportList.aspx?Show=primaryBill" Text="Billing"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_PremRbt-icon.png" NavigateUrl="/Reports/StaticReports/ReportList.aspx?Show=premiumRebate" Text="Premium Rebates"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_Marketing-icon.png" NavigateUrl="/Reports/StaticReports/ReportList.aspx?Show=marketing" Text="Marketing"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_Employee-icon.png" NavigateUrl="/Reports/StaticReports/parameters.aspx?paramShow=33&reportName=Employee reports&reportFile=ASIUser_Reports.aspx&Show=users" Text="Employees"></telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="images/folder-icon.png" Text="Policy Letters" Expanded="true">
                                <Items>
                                    <telerik:RadPanelItem ImageUrl="images/RT_FinStatement-icon.png" NavigateUrl="/Reports/PolicyLetters/LetterList.aspx?Show=AsiPrimary" Text="ASI Primary"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_CUTrack-icon.png" NavigateUrl="/Reports/PolicyLetters/LetterList.aspx?Show=ASIExcess" Text="ASI Excess"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_Audit-icon.png" NavigateUrl="/Reports/PolicyLetters/LetterList.aspx?Show=esiExcess" Text="ESI Excess"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_Underwrite-icon.png" NavigateUrl="/Reports/PolicyLetters/LetterList.aspx?Show=esiFLExcess" Text="Florida Letters"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_Acct-icon.png" NavigateUrl="/Reports/PolicyLetters/LetterList.aspx?Show=esiTXExcess" Text="Texas Letters"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_PriBill-icon.png" NavigateUrl="/Reports/PolicyLetters/LetterList.aspx?Show=esiWAExcess" Text="Washington Letters"></telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="images/folder-icon.png" Text="CU Data Bank" Expanded="true">
                                <Items>
                                    <telerik:RadPanelItem ImageUrl="images/RT_CUDataBank-icon.png" NavigateUrl="/cuDataAnalysis/cuDSInd.aspx" Text="Individual CU Search"></telerik:RadPanelItem>
                                    <telerik:RadPanelItem ImageUrl="images/RT_CUDataBank-icon.png" NavigateUrl="/cuDataAnalysis/CustomSearch.aspx" Text="CU Custom Search"></telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="images/RT_Labels-icon.png" NavigateUrl="/Reports/Labels/LabelList.aspx" Text="Labels"></telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelItem>
                </Items>
                <ExpandAnimation Type="OutQuart" />
                <CollapseAnimation Type="OutQuart" />
            </telerik:RadPanelBar>
        </telerik:RadPane>
        <telerik:RadPane ID="Radpane2" runat="server">
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
            </asp:ContentPlaceHolder>
        </telerik:RadPane>
    </telerik:RadSplitter>
</telerik:RadPane>
Dimitar Terziev
Telerik team
 answered on 16 Oct 2014
4 answers
3.1K+ views
Based on a column value, I want to change the backcolor of the row in the Radgrid. How do we do it?

There are examples in "Conditional Formatting for rows/cells on ItemDataBound". But when I went to my code, I could not see "ItemdataBound" event for my RadGrid. So how to I change the row color based on a column value?

I populate my grid with the data table.
Beatrice
Top achievements
Rank 1
 answered on 15 Oct 2014
2 answers
79 views
I have a grid with a User control for Adding/Editing records. The first field on the User control is a textbox.  If I enter text and press the enter key the "Add New" of the Grid is fired.  I want to capture the Enter Key and either do nothing or replace it with a  Tab to the next field.

Matt
Top achievements
Rank 1
 answered on 15 Oct 2014
1 answer
68 views
Hello

We use Telerik Grid (in ASP.NET AJAX).
It's convinient to use Column Grid Filters because it let us avoid lot's routine job.
But the bad size is that it used to generate such kind of quieries to our SQL Server:

SELECT *
FROM   [dbo].[OPCatalogue] AS [t0]
WHERE  (CONVERT(NVarChar(MAX), (CASE
                                  WHEN 0 = 1 THEN CONVERT(NVarChar(40), '')
                                  ELSE CONVERT(NVarChar(40), [t0].[SKU])
                                END))) LIKE 'something%' 

This query works without using indecies, so it would be much more prefer to construct the sql like this:
SELECT *
FROM   [dbo].[OPCatalogue] AS [t0]
WHERE  [t0].SKU LIKE 'something%'

this way it's going to use the index and work much faster.

How can we make Telerik Grid generate such kind of simpler queries?
Pavlina
Telerik team
 answered on 15 Oct 2014
1 answer
113 views
Hello everyone. 
I've been doing .net for years, finally jumping into Telerik for the first time. I'm am wanting to try out the RadScheduler control, but not sure if it will work for me, or more so, I don't know how to make it work for me. 

Heres what I need to do:
I need a popup calendar reminder. I don't need the fancy calendar so much, but if a user saves a reminder for a day, I need something to pop up whenever they login to the site and there is a reminder for that day. I would like for this popup to occur no matter what page of the site they are on. 

I also need this to be unique for each site user. Not one calendar of events, but a unique calendar for each site user. 

Can someone please point me in the right direction. Any code examples to get me started would be VERY appreciated!

Thanks in advance!

DB     
Boyan Dimitrov
Telerik team
 answered on 15 Oct 2014
1 answer
104 views
I have a RadGrid that allows for grouping on any column.  My task was to add a hyperlinked column which when clicked posts back
and displays record detail in a RadWindow.  The obvious column-type choice - GridHyperLink, does not cause a postback so I cannot do
my data retrieval and display the record detail server-side.  Using a link button control inside of a GridTemplateColumn breaks my grouping functionality - the RadGrid will no longer group on this column.  I've tried to use a GridBoundColumn and add a link button programmatically, but I haven't gotten this to
work either.  Does anyone have a solution for this?  Thanks in advance!

Doug

Eyup
Telerik team
 answered on 15 Oct 2014
1 answer
89 views
Hi,

We have a ASP.NET RadSlider that starts from a small number and increases to a large number quickly. Is there a way to have 2 different step sizes (a different SmallChange/LargeChange value depending on the range)? For example, a slider that goes from 1 to 5, we would like the step size to be 0.1 between 1 to 2 and a step size of 0.5 between 2 to 5. A javascript solution is also acceptable.

Thanks for your help.

Stephen
Slav
Telerik team
 answered on 15 Oct 2014
8 answers
678 views
I have radgrid  control   i want to click on print image button    to  execute some code  
which event should i used?
Merv
Top achievements
Rank 1
 answered on 15 Oct 2014
1 answer
122 views
I've been able to implement an expand/collapse control for all the groups in my grid based on some of the posts I found in this forum. I'm using the client side api and I have a button that I can put either outside of the grid or as a command item in the header of the grid. This is working just fine, great actually. I am just wondering if there is any way that I can add this control to the header of the GridGroupSplitterColumn? I've attached an image and put a red X in the location I am referring to. I can use some jquery to sort of hack something I just wondered if there is any built in way to access this part of the grid. Thanks for any help.

Eyup
Telerik team
 answered on 15 Oct 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?