Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
170 views

Can you help set up nice looking grids like those in the Telerik demos by sharing image source files?
Specifically many of the grids use an image as background.  Often it is an image having rounded corners
and the image allows a title on top of the grid. The image extends just a little on the sides and bottom of the grid.
Previously I adapted an example that used this file as background: Images/bgMedBlue.jpg.
I don't remember the name of the demo but I referenced it in a post to the forum for radgrid.
The demo used the file as in the following example:

 <div style="background: url(Images/bgMedBlue.jpg) no-repeat; padding: 7px 5px; width: 742px;">
 <div style="font-size: 13px; font-weight: bold; color: #15428b; padding: 4px 30px;">  Here is the title of the grid </div>
 <rad:RadGrid ID="RadGrid1" Skin="WebBlue"  ....

Specific questions:

1. Is there a way to search the foums for posts by a specific user?
2. Can I get the source files for bgMedBlue.jpg and other graphic files used for grid background in the Telerik demos for radgrid?
By "source file" I mean a vector graphic file that allows resizing without losing image quality.
I need a file for Microsoft Expression Design or a file type I can import to that package.
If for some reason you cannot provide them, can you recommend any other source, free or paid, for files of this type.
(I believe providing these files could help many Telerik users and make it faster for them to develop applications similar to your demos.)

Dimo
Telerik team
 answered on 31 Oct 2008
3 answers
124 views
Sir
hw to set dockzone.style dynamically.
I need dockzones float=left
Thanks...
Priya
Top achievements
Rank 1
 answered on 31 Oct 2008
3 answers
125 views
I'm wondering if there is a way to control where on a bar chart the y data point is displayed.  For most bars, the value is displayed just past the end of the bar, but here and there the value displays within the bar.  Also, every now and then, a value is displayed partially below the bar.  What properties are available to control where the data point displays?
Ves
Telerik team
 answered on 31 Oct 2008
1 answer
147 views
How do I remove the week column from showing on the left of the calendars?

Thanks.
Moon
Shinu
Top achievements
Rank 2
 answered on 31 Oct 2008
2 answers
116 views
hello,
   Previously we were using radcontrols version 2008.2.723.20
and Combo Load on Demand was working fine and it was not taking much time retreiving the data from sql.
But now we have installed RadControl of version 2008.2.826.20 and Load On Demand is too much slow.

it is fine on local system but when we deploy on the server then its speed is very slow.

Is there any problem in this version.

Please help us in this regard.

Thanks
altaf
Top achievements
Rank 1
 answered on 31 Oct 2008
5 answers
745 views
The requirement is simple. But...
I want to mark the checkboxes which exist as a template column in a grid on other button's click event.
Shinu
Top achievements
Rank 2
 answered on 31 Oct 2008
1 answer
146 views
Hello,
 
 I'm having some difficulties implemention a  grid regroup based on user's selection  in a dropdown control.
 Basically, I'll like my users to select "group by Agency" or "by client"  based on the selection the make in a dropdown box.

 in my dropdown event handler, I'll like to change the grouping. the default group is by Agency.
 
  below is my grid structure.

/*************************************/

<telerik:radgrid id="gridWorks"
DataSourceID="getWorks"
runat="server"
ShowStatusBar="true"              
gridlines="Horizontal"
skin="WebBlue"
AllowSorting="true"
ShowGroupPanel="false"
AutoGenerateColumns="false"                        
OnUpdateCommand="gridWorks_UpdateCommand"
OnDeleteCommand="gridWorks_DeleteCommand"
OnInsertCommand="gridWorks_InsertCommand"
PageSize="50" AllowAutomaticDeletes="True" OnItemCommand="gridWorks_ItemCommand" >

<MasterTableView GroupLoadMode="Client"  CommandItemDisplay="TopAndBottom" DataKeyNames="workID,Title" AllowPaging="True" AllowSorting="False" DataSourceID="getWorks">

<Columns>
<telerik:GridBoundColumn DataField="Title" HeaderText="Title" ReadOnly="True" SortExpression="Agency" UniqueName="Title"/>
<telerik:GridBoundColumn DataField="Client" HeaderText="Client" ReadOnly="True" SortExpression="client" UniqueName="Client"/>
<telerik:GridBoundColumn DataField="SiteStatus" HeaderText="Site Status" ReadOnly="True"  UniqueName="SiteStatus"/>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Update" ImageUrl="../Images/ICEdit.gif" HeaderText="Edit" UniqueName="column" />
<telerik:GridButtonColumn ConfirmText="Are you sure you want to delete this Work?\n Items are none recoverable once deleted!"  HeaderText="Delete" CommandName="Delete" ButtonType="ImageButton" ImageUrl="../Images/ICTrash.gif" Text="Delete" UniqueName="Delete"/>
<telerik:GridBoundColumn DataField="Modified" HeaderText="Last Modified" ReadOnly="True"  UniqueName="Last Modified"/>

</Columns>

<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldName="Agency" FieldAlias="Agency" />

</SelectFields>
<GroupByFields>
<telerik:GridGroupByField  FieldName="Agency" FieldAlias="Agency"/>
</GroupByFields>

</telerik:GridGroupByExpression>
</GroupByExpressions>


/********************/

 your help is much appreciated.
-roland
Shinu
Top achievements
Rank 2
 answered on 31 Oct 2008
15 answers
320 views
Hi,

with only one gridbutton I don't have problem.
I use event:
Protected Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged

But with something like this (2 or moore buttons):

<radG:GridButtonColumn CommandName="Diana" HeaderText="Dettagli" Text="[Diana]" UniqueName="Diana">
</radG:GridButtonColumn>
<radG:GridButtonColumn CommandName="Sara" Text="[Sara]" UniqueName="Sara">
</radG:GridButtonColumn>

on

Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.WebControls.GridCommandEventArgs) Handles RadGrid1.ItemCommand
        Dim item As GridDataItem

            MyCmd = e.CommandName

            Select Case MyCmd
                Case "Diana"
                Case "Sara"
...
works
but
            item = RadGrid1.SelectedItems.Item(0)
            myKey = item("FId").Text

say me that I don't have selected item.

someone can help me?
Thanks

RRE


Jim
Top achievements
Rank 1
 answered on 31 Oct 2008
4 answers
146 views
I think I'm missing something that should be very simple....

How can I make a particular resource the default if none is chosen?

I'd be happy with the blank/none option being removed and a default/first resource being shown or in the code (AppointmentCreated I assume) the resource is assigned what I want the default resource to be if none were chosen.
Scott
Top achievements
Rank 1
 answered on 30 Oct 2008
2 answers
107 views
Hello,

I have a LinkButton in a CommandItemTemplate in a RadGrid. I need to set the visibility of this button to false when the user is not authorized to use certain functionality. I do an authorization check in the Page_load method, and set the visibility to false. this works fine. However when the user clicks on one of the column headers(to sort) the button then shows back up. This doesn't happen to two other columns that I also set the visibility on to false. Is there some grid property I need to set to make this work?

ASP.NET:

<

 

CommandItemTemplate>

 

 

<div class="commandItemButtons">

 

 

<asp:LinkButton ID="addButton" runat="server" CommandName="InitInsert">

 

 

<img class="padding" alt="Add Acronym" src="../App_Themes/Default/TelerikControls/Grid/add.png" />Add Acronym</asp:LinkButton>

 

 

</div>

 

 

</CommandItemTemplate>

 

C#:

 

//Makes a reference to the addButton on the Page

 

 

LinkButton addButton = (WebUtilities.FindControl(acronymRadGrid, "addButton") as LinkButton) ;

 

 

//Administrators get to see all of the columns as well as the add button

 

 

if (WebUtilities.IsAdmin(User)) {

 

addButton.Visible =

true;

 

 

foreach (GridColumn column in acronymRadGrid.Columns) {

 

column.Visible =

true;

 

}

}

 

//Regular users only get to see the Acronym and Description columns

 

 

else {

 

addButton.Visible =

false;

 

 

foreach (GridColumn column in acronymRadGrid.Columns) {

 

 

if (column.HeaderText != "Acronym" && column.HeaderText != "Description") {

 

column.Visible =

false;

 

}

}

}

Thanks,

-Mike

Michael
Top achievements
Rank 1
 answered on 30 Oct 2008
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?