|
Requirements |
|
| RadControls version | 5.0.1.0 |
| .NET version | 2.0 |
| Visual Studio version | 2005 |
| programming language | C# |
| browser support |
all browsers supported by RadControls |
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> |
| <%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radG" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title>Untitled Page</title> |
| <script language="javascript" type="text/javascript"> |
| function OnRowClick(index) |
| { |
| var e = window.event; |
| if (event.ctrlKey==1) |
| return false; |
| else |
| return true; |
| } |
| </script> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <radg:radgrid id="RadGrid1" runat="server" |
| allowmultirowselection="True" autogeneratecolumns="False" datasourceid="SqlDataSource1" |
| gridlines="None" EnableAJAX="True" Skin="Ice" > |
| <MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="CategoryID" > |
| <Columns> |
| <radG:GridBoundColumn HeaderText="CategoryID" UniqueName="CategoryID" DataField="CategoryID"> |
| </radG:GridBoundColumn> |
| <radG:GridBoundColumn HeaderText="CategoryName" UniqueName="column" DataField="CategoryName" ></radG:GridBoundColumn> |
| <radg:GridClientSelectColumn UniqueName="column1"> |
| </radG:GridClientSelectColumn> |
| </Columns> |
| <ExpandCollapseColumn Resizable="False" Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <RowIndicatorColumn Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| </MasterTableView> |
| <ClientSettings> |
| <ClientEvents OnRowClick="OnRowClick" /> |
| <Selecting AllowRowSelect="True" /> |
| </ClientSettings> |
| <ExportSettings> |
| <Pdf PageBottomMargin="" PageFooterMargin="" PageHeaderMargin="" PageHeight="11in" |
| PageLeftMargin="" PageRightMargin="" PageTopMargin="" PageWidth="8.5in" /> |
| </ExportSettings> |
| </radg:radgrid> |
| <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyNorthwindConnectionString %>" |
| SelectCommand="SELECT TOP 10 [CategoryID], [CategoryName] FROM [Sales by Category]"></asp:SqlDataSource> |
| </div> |
| </form> |
| </body> |
| </html> |
I have prometheus running on our server just fine, but I'm having an issue running it locally on a vista box with IIS 7. This is my first time messing with IIS 7 and I'm at a total loss as to where any settings are.
I'm getting Resoucres Not Found on my dialog popups in the editor.
I have the same code as the production server but its not working. I get an alert about HttpHandlers not being in the web config, but its the same web config as in production. Any ideas?
I have in bin - Telerik.Charting, Design, and UI
I have these in my webconfig in the httpHandlers section:
<
add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
<
add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI" />
<
asp:Button ID="Button1"
Text='<%# (Container as GridItem).OwnerTableView.IsItemInserted ?
"Insert" : "Update" %>'
runat="server"
CommandName='<%# (Container as GridItem).OwnerTableView.IsItemInserted ?
"PerformInsert" : "Update" %>'>
</asp:Button>
Would anyone be able to show me the Prometheus Grid equivalent?
Thank you.


