Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
57 views
I am using the RadGrid in a page - but for some reason it displays without any skin / styling. The grid is in a usercontrol - and I have a RadFormDecorator declared in the main page.

Here is the code I am using to display the grid:
<telerik:RadGrid ID="AddUserGrid" AutoGenerateColumns="false" ShowFooter="true" Width="400px" runat="server">
 <PagerStyle Mode="NextPrevAndNumeric" />
 <MasterTableView AutoGenerateColumns="false" TableLayout="Auto" ShowFooter="true">
     <Columns>
         <telerik:GridBoundColumn DataField="email" HeaderText="Email" />
         <telerik:GridBoundColumn DataField="username" HeaderText="UserName" />
                                 
     </Columns>
 </MasterTableView>
 <ClientSettings>
     <Selecting AllowRowSelect="true" />
 </ClientSettings>
 
 </telerik:RadGrid>

And here is how it looks:
Rendered Grid

Any idea on why all the style would be missing?
Christopher
Top achievements
Rank 1
 answered on 07 Jan 2011
9 answers
353 views
I am trying to do the tutorial located at:http://www.telerik.com/help/aspnet-ajax/grddesigncreatinghierarchicalgrids.html that a telerik staffer recommended I complete.  The problem is (as always) I can not find all the components to even learn the tutorial, namely, the ACCESS database file called Nwind.mdb.  I looked in the Live Demos/App_Data file (C:\Program Files\Telerik\RadControls for ASPNET AJAX Q3 2008\Live Demos\App_Data) and there is no Nwind.mdb file residing there.  I performed a search on my box and found this particular ACCESS database within another application (Developer Express .net), but nothing in the Live Demos/App_Data folder as the tutorial instructs, only Northwind.mdf and the Northwind.ldf. 

Now because I needed the .MDB file, not a .MDF file, I copied and pasted the Nwind.mdb file from the Developer Express folder and pasted it in the Live Demos/App_Data folder in Telerik.  I then copied said database file from the Dev Express directory and pasted it from that directory into the Live Demos/App_Data file of my telerik project as the tutorial instructs.  However, when I try to configure the database to the AccessDataSource1 control for the RadGrid to display the data, I keep receiving the following error:

  • Database schema could not be retrieved for this connection.  Please make sure the connections settings are correct and that the databse i online.  Unspecified error

Why can't I connect to the database?  I'm online, which I don't know how that makes any difference since the Live Demos/App_data directory is on hard drive.
 

Dan
Top achievements
Rank 2
 answered on 07 Jan 2011
0 answers
119 views
I have a RadGrid that is using a FormTemplate when inserting/updating values.

One of the values in my SQL Table is a bit flag. That is, it's going to be either true or false.

I can easily set this bit using a checkbox like the following in my FormTemplate:

<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("CanBeFatal") != DBNull.Value ? Convert.ToBoolean(Eval("CanBeFatal")) : false %>' />

This essentially selects the checkbox if the flag is set to true. However, I would prefer to display a RadComboBox instead of a checkbox and set the selected item based on the value of the bit flag. I've tried various methods to achieve this, but haven't had any success. I'm not sure if this is even possible, but any help would be appreciated.

Based on the sample below, if my bit flag is set to false, I would like the RadComboBox to have the 2nd item selected. For simplity of this message, I am leaving out the various methods I used to evaluate the bit flag and attempt to set the selection in the sample to avoid confusion.

<telerik:RadComboBox ID="RadComboBox2" runat="server" >
    <Items>
        <telerik:RadComboBoxItem Text="Yes" Value="true" />
        <telerik:RadComboBoxItem Text="No" Value="false" />
    </Items>
</telerik:RadComboBox>

Thanks!

UPDATE:
I was finally able to set the selection after playing a bit more. Seems the value for the bit is case sensitive. I got it working by doing the following:

<telerik:RadComboBox ID="RadComboBox2" runat="server" SelectedValue='<%# Eval("CanBeFatal") %>'>
    <Items>
        <telerik:RadComboBoxItem Text="Yes" Value="True" />
        <telerik:RadComboBoxItem Text="No" Value="False" />
    </Items>
</telerik:RadComboBox>

Guess I spoke to soon. Hope this helps someone else!
Paul
Top achievements
Rank 1
 asked on 07 Jan 2011
1 answer
240 views
Hello in my grid i hv one button inside the grid ..

<telerik:GridTemplateColumn DataField="DelFlag" HeaderText="Status" SortExpression="DelFlag"
                            HeaderStyle-HorizontalAlign="Center" UniqueName="DelFlag" Visible="true" AllowFiltering="false">
                            <ItemTemplate>
                               <asp:Button ID="btnStatus" Font-Size="11px" Width="65px" runat="server" Text='<%#Eval("DelFlag")%>'
                                 CommandName="Command" />                                
                            </ItemTemplate>
                            <ItemStyle VerticalAlign="Middle" HorizontalAlign="Center" />
                        </telerik:GridTemplateColumn>

if user click on button want to show the message "Are you sure want's to change status?". if user click yes then update status otherwise not.

 Please find attached image file u get an idea.   In image file Status column that button .. on click on that button want to show the confirmation message.



thanks
Mike Nogen
Top achievements
Rank 1
 answered on 07 Jan 2011
5 answers
131 views
Hi everyone.
I don´t speak very well english so my apologizes

I am user of telerik asp.net Ajax, and i like it .
I have tried the aspxTreelist of Devexpress and i was expecting something alike, but is not, i am very upset.

I was expecting double click expand/colapse, sumary , Edit on place (like form) , scrollbars ,etc..

I have a project to finish and i use Telerik Asp.Net Ajax , but i have to buy only the component of aspxTreeList of Devexpress :(

I expect that issues comes in the next release.

Thanks




Sebastian
Telerik team
 answered on 07 Jan 2011
10 answers
235 views
Hi,

I have a radmenu in a user control which is loaded dyanamically from another user control. On first load of the site, i.e. after compilation, the menu operates correctly but on subsequent loads it does not an iisreset is needed for the menu to work again. This is due to me having output caching enabled (sql cache dependency). I get the sys is not defined/telerik not defined errors.

Remove the caching and everything is fine. I need to cache the menu / data as it is intensive to get the data. Anyone know what I need to do so I can set the output cache and the menu continue to work properly?

Thanks,

Leon.

Simon
Telerik team
 answered on 07 Jan 2011
1 answer
80 views
Hi,
i've got a problem with telerik combobox in IE, when I enter the combobox and press BackSpace it redirects me to the previous page.

In FF, it works fine. Don't you know where could be a problem?

Here is my code:
<telerik:RadComboBox ID="comboCompany" runat="server" Width="304px" OnClientSelectedIndexChanging="LoadSites">
 </telerik:RadComboBox>



Thanks for answer.
abasi
Top achievements
Rank 1
 answered on 07 Jan 2011
12 answers
433 views
Hello,

I have a RadGrid populated from a method in a class file. When I bind the grid one of the columns is populated with a space, " ". For some reason, this causes the RadGrid to not place borders/gridlines around the items in that column. I've attached an example of what this looks like.

Any help would be appreciated.

Thanks,
Casey
Andy
Top achievements
Rank 1
 answered on 07 Jan 2011
6 answers
184 views
Hi all,

I'm having a custom skin which is modified from Telerik Skin.
EnableEmbeddedSkins="false" Skin="MySkin"

In my website, user has his/her own favorite color. And I would like to apply that color for Grid header.
For example, user A has Orange color and the background color of RadGrid header must be orange. 

Are there any ways to modify the "MySkin"?

Regards,

Andy.

EnableEmbeddedSkins="false" Skin="MySkin"

Pavlina
Telerik team
 answered on 07 Jan 2011
3 answers
69 views
Dear Support

I am totally new to Telerik Reporting Q3 2010. Please me some references, links, tutorials, worked out examples to learn this new reporting feature.
I want to know is telerik reporting Q3 2010 can be done with Visual Studio 2008. or Visual Studio 2010.

Please give me some link reference to study in details

Thank you
Steve
Telerik team
 answered on 07 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?