Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
286 views
I'm trying to use the RadDatePicker, but just after drag and drop the component I got a javascript error message (on Firefox's Errors Console):

Erro: missing : after property id
Arquivo-fonte: http://localhost:2279/DevelopmentWebsite/Modulos/Default.aspx#
Linha: 8, Coluna: 252
Código-fonte:
' de \'MMMM","ddd, dd MMM yyyy HH\':\'mm\':\'ss \'GMT\'","d/M/yyyy","H:mm","yyyy\'-\'MM\'-\'dd\'T\'HH\':\'mm\':\'ss","yyyy\'-\'MM\'-\'dd HH\':\'mm\':\'ss\'Z\'","MMMM\' de \'yyyy",,,"/",":",0],"_ViewRepeatableDays":{},"_ViewsHash":{ctl00_DefaultContent_~/M

Sorry for some non-english texts on the error.

My scenario is a little complex:

An Ajaxified RadTabStrip (with RadAjaxManager) loads controls into dinamically created PageViews . The DatePicker is in a form inside one of these Controls. The form has a RadAjaxPanel.

Notes:
  • EnablePageHeadUpdate="false doesn't solve the problem as said at the thread (http://www.telerik.com/community/forums/thread/b311D-begbae.aspx)
  • I'm using RadControls  for ASPNET AJAX Q1 2008
Is there any alternative solution for this issue?
Louis Meijer
Top achievements
Rank 1
 answered on 16 Apr 2009
1 answer
95 views
Hi all,

I have a display issue in IE when I add meta tag IE Page Transition
In fact, the tools like "BackColor" and "ForeColor" and other like them aren't correctly rendered.

Sample:
My page with those transitions :

 

<

 

meta http-equiv="Page-Enter" content="progid:DXImageTransform.Microsoft.Slide(Duration=.5, slideStyle=PUSH)" visible="false"/>

 

<

 

meta http-equiv="Page-Exit" content="progid:DXImageTransform.Microsoft.Slide(Duration=.5, slideStyle=PUSH)" visible="false"/>

 

 

 

and my RadEditor :

 

<

 

telerik:RadEditor ID="RadEditor1" runat="server" Width="100%" EditModes="Design" Height="180px" Skin="Telerik">

 

 

<Tools>

 

 

<telerik:EditorToolGroup>

 

 

<telerik:EditorTool Name="Cut" />

 

 

<telerik:EditorTool Name="Copy" />

 

 

<telerik:EditorTool Name="Paste" />

 

 

<telerik:EditorSeparator />

 

 

<telerik:EditorTool Name="ForeColor" />

 

 

<telerik:EditorTool Name="BackColor" />
<
telerik:EditorSeparator />

 

 

<telerik:EditorTool Name="FontName" />

 

 

<telerik:EditorTool Name="FontSize" />

 

 

</telerik:EditorToolGroup>

 

 

</Tools>

 

 

<Content>

 

 

</Content>

 

 

</telerik:RadEditor>

With this, I have 3 line of tools
first contain : 

 

<telerik:EditorTool Name="Cut" />

 

 

<telerik:EditorTool Name="Copy" />

 

 

<telerik:EditorTool Name="Paste" />

 

 

<telerik:EditorSeparator />

 

 

<telerik:EditorTool Name="ForeColor" />

second contain :
<telerik:EditorTool Name="BackColor" />

third contain :
<telerik:EditorSeparator />

 

 

<telerik:EditorTool Name="FontName" />

 

 

<telerik:EditorTool Name="FontSize" />

And if I remove the meta tag, all was correctly displayed.
How can I fix it, because i need page transitions for my project ?

Regards,
Gaël

PS : Sorry for my bad english ;)

Gaël
Top achievements
Rank 1
 answered on 16 Apr 2009
9 answers
392 views
Using RadControls for ASPNET AJAX Q1 2009, I have created a dynamic grid as per your examples.  It works fine, including grouping, except that clicking "Collapse Group" doesn't do anything.

TIA
Rob
Sebastian
Telerik team
 answered on 16 Apr 2009
1 answer
139 views

Using RAD EDITOR (RadControls_Q2_2007_SP1_dev):

When I paste this text into my rad editor:
目睹了中国在全球市场的日趋重要的地位,我们也通过协助美国企业建立和扩展在中国的业务紧紧地跟进这一进程。如今,通过与中国顶级律所及其知识产权公司结成战略联盟,Bullivant具备了更好地协助中国商业企业开拓美国市场的实力。

It displays the chinese text fine within my rad editor window after pasting. However when the content gets written out to SQL:

When I save the content to the SQL database, and retrieve the content, it becomes:
??????????????????????????????????????????????????????????????????...

I am using IIS/ASP.net 1.1
My web.config file begins with:
<?xml version="1.0" encoding="utf-8" ?>

I have made the following change to my web.config file:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8"

 

 

 

responseHeaderEncoding="utf-8" enableBestFitResponseEncoding="false" />

 

 

 

I also set the following tags on my page which has the rad editor in use or inputting the field:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
and
<head>
...
<meta http-equiv="content-type" content="text/html; charset=utf-8">
...
</head>

The database column bieng used to store the rad editor value is of type NTEXT.

Please let me know how I can solve this problem.

Thank you.

Rumen
Telerik team
 answered on 16 Apr 2009
1 answer
92 views
Does a tool exist to convert declarative code into programmatic code for a RadGrid?

Declarative code is useful for quick prototyping, but then programmatic code is useful for creating assemblies and longer term maintenance of the code.

If such a conversion tool does not exist, then does Telerik have any plans to make such a tool available in the future? If so, any timeline for availability?

If not, then where is best collection of guidance on conversion?

I have found the following doc page:

http://www.telerik.com/help/aspnet-ajax/grdprogrammaticcreation.html

Is there any other documentation that would be helpful in general, that would provide additional guidance, and that would speed conversion of declarative code to programmatic code for controls other than the RadGrid? 

Thanks!
Yavor
Telerik team
 answered on 16 Apr 2009
1 answer
229 views
I have a grid where I delete an Item through a callback.

Reason: I am using a custom confirmation box and if the user selects YES from the radwindow,

Method : I use a javascript function to do an ajaxrequest.

Issue: The item gets deleted however the grid doesn't rebind

Code:

 <telerik:RadCodeBlock ID="RadCodeBlockConfirm" runat="server">

        <script type="text/javascript" language="javascript">
            function 'confirmDelete() {
                try {
//opening a confirm box
         var oWnd = radopen("Confirm.aspx?prompt=Do you want to delete the selected item?", "ConfirmDelete");
                }
                catch (err) {
                }
                return false;
            }
            function ConfirmResponse(tag, value) {
                try {
//User selected YES
                    if (value == "Yes") {
                        confirmHandler(value);
                    }
                }
                catch (err) {
                }
            }
            function confirmHandler(arg) {
                try {
                    if (arg) {
                            $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Delete");
                                                  }
                    }

                catch (err) {
                }
            }
        </script>

    </telerik: >


<SomeRadGrid>
<CommandItemTemplate>
<asp:LinkButton CssClass="CommandItemButton" ID="DeleteButton" OnClientClick='confirmDelete();'
                                    runat="server" Text="Delete" ></asp:LinkButton>
</CommandItemTemplate>
</SomeRadGrid>


    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager_OnAjaxRequest">
        <AjaxSettings>

//update....
          </AjaxSettings>
    </telerik:RadAjaxManager>



///////////////////////////////////////////
CODE BEHIND

/////////////////////////////////////////////

protected

void RadAjaxManager_OnAjaxRequest(object sender, AjaxRequestEventArgs e)

 

{

 

if (e.Argument.Equals("Delete"))

 

{

// Delete Item from SomeRadGrid

SomeRadGrid.Rebind(); // This looks like it is rebinding , it goes in to the need datasource and the item seems to be removed however Untill I hit refresh from the Grid It doesn't update the view

 

 

 

}

 

}

It looks like rebind doesn't update the view on 

I also tried this .......
            function RefreshGrid(ID) {

  setTimeout("RefreshGrid('<%= SomeRadGrid.ClientID %>')", 200);

                    var masterTable = $find(ID).get_masterTableView();
                    masterTable.rebind();
            }

This does rebind but I had to use a settimeout to slow it down so it doesn't rebind before the item is deleted. THis seems very unsafe and doesn't work in all cases like with more that 10 items.

Could you share a better approach.

AS a summary:

All I need is an ability to rebind after an ajaxrequest. I have to use a custom confirm box that will have to do an ajax request to delete an Item on the parent page, then i need to rebind.

Doing a radgrid.Rebind(); on the server in the onajaxrequestevent does rebind but the view does not change.

Thanx for the help!
Tsvetoslav
Telerik team
 answered on 16 Apr 2009
4 answers
1.0K+ views
Hi,

How can i set transparent modal window background color? I mean it will be modal but not gray background, it will be transparent as like before open radwindow.

Thanks in advance.

Fakhrul
Georgi Tunev
Telerik team
 answered on 16 Apr 2009
1 answer
195 views

I have a question regarding the Asp.Net Grid. 

* I do not use an ObjectDataSource.
* I return a List<entityObject> from the web service using the underlying database to do my paging.  I.e., I request pages one at a time, say 25 rows, each row populates an entityObject.
* As part of each query, I add an int column/property on the entityObject called TotalListCount that is populated immediately following the query and returned to the web page as an ordinary property (I know, its redundant, but simple.).
*  Here is the question:  Can I set a Grid property so that the Pager "thinks" the total row count in the datasource is TotalListCount (not 25)?

FYI, to do this with the built-in grid, I had to subclass the GridView and override the InitializePager() event handler to set the pagedDataSource.VirtualCount to my custom count (i.e. TotalListCount).  This works fine, but I am looking to the Telerik Grid to help with upcoming in-grid editing scenarios.

Thanks, dstelow

Shinu
Top achievements
Rank 2
 answered on 16 Apr 2009
1 answer
174 views
Hi guys,

I have two questions regarding the editor.

1. The "Apply Css class" dropdown has endless css classes from various css files used in the project it seems. They aren't useful for the regular user who is using the editor, so I want to get rid of them.

Something like this has no effect: editor.CssFiles.Clear()

2. I have specified a ContentAreaCssFile for the editor. It has the background property of the body set to white. Which works fine, until you enter preview mode. Then the editor defaults back to the body colour of the page instead, in this case, not the same colour. How would I go about overriding this behaviour?

Regards,
-DJ-
Rumen
Telerik team
 answered on 16 Apr 2009
2 answers
110 views
Hi,

I have a RadGrid, with a child grid contained inside. I AM NOT a coder and am doing this through the GUI. I have most things working, but cannot get the records to update when the edit button is selected. The child grid is also not displaying the column aggregates for the Hours and Minutes columns. Here is the aspx:

<%

@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

 

<%

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

<!

 

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>

 

 

</head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<telerik:RadScriptManager ID="ScriptManager1" runat="server"

 

 

EnableTheming="True">

 

 

</telerik:RadScriptManager>

 

 

<div>

 

 

 

<br />

 

 

 

</div>

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"

 

 

AllowSorting="True" AutoGenerateEditColumn="True" DataSourceID="SqlDataSource1"

 

 

GridLines="None" ShowGroupPanel="True" Skin="Sunset"

 

 

AllowAutomaticDeletes="True" AllowAutomaticInserts="True"

 

 

AllowAutomaticUpdates="True">

 

<

 

MasterTableView AllowCustomPaging="True" AllowCustomSorting="True"

 

 

AutoGenerateColumns="False" CommandItemDisplay="Top" DataKeyNames="IssueNumber"

 

 

DataSourceID="SqlDataSource1" EditMode="PopUp">

 

 

<DetailTables>

 

 

<telerik:GridTableView runat="server" CommandItemDisplay="Top" ShowFooter="true"

 

 

DataSourceID="SqlDataSource2" AllowCustomPaging="True" Skin="Telerik"

 

 

AllowCustomSorting="True" AutoGenerateColumns="False" Width="99%" EditFormSettings-PopUpSettings-Modal="True"

 

 

CommandItemSettings-AddNewRecordText="Add new action" EditMode="PopUp" AllowAutomaticDeletes="True"

 

 

AllowAutomaticInserts="True" AllowAutomaticUpdates="True" EditFormSettings-PopUpSettings-Width="50%" Frame="Box"

 

 

TableLayout="Fixed" EditFormSettings-EditColumn-HeaderText="Edit Item">

 

 

<ParentTableRelation>

 

 

<telerik:GridRelationFields DetailKeyField="IssueNumber" MasterKeyField="IssueNumber" />

 

 

</ParentTableRelation>

 

 

<Columns>

 

 

<telerik:GridDropDownColumn HeaderText="Engineer" DataSourceID="SqlDataSource3" ListTextField="Engineer" ListValueField="Engineer" DataField="Engineer">

 

 

</telerik:GridDropDownColumn>

 

 

<telerik:GridBoundColumn HeaderText="Action Type" HeaderButtonType="TextButton"

 

 

DataField="ActionType">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Title" HeaderButtonType="TextButton" DataField="HeaderDesc">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridHTMLEditorColumn HeaderText="Description" HeaderButtonType="TextButton" DataField="Description" ColumnEditorID="GridHTMLEditorColumnEditor1">

 

 

<HeaderStyle Width="40%" />

 

 

</telerik:GridHTMLEditorColumn>

 

 

<telerik:GridDateTimeColumn HeaderText="Date" HeaderButtonType="TextButton"

 

 

DataField="DateTime" DataFormatString="{0:dd/MM/yyyy}">

 

 

</telerik:GridDateTimeColumn>

 

 

<telerik:GridNumericColumn HeaderText="Hours" FooterText="Total"

 

 

HeaderButtonType="TextButton" DataField="HoursSpent" DataType="System.Decimal"

 

 

ColumnEditorID="GridNumericColumnEditor1" KeepNotRoundedValue="True"

 

 

Aggregate="Sum">

 

 

</telerik:GridNumericColumn>

 

 

<telerik:GridNumericColumn HeaderText="Minutes" FooterText="Total"

 

 

HeaderButtonType="TextButton" DataField="MinutesSpent" DataType="System.TimeSpan"

 

 

ColumnEditorID="GridNumericColumnEditor2" KeepNotRoundedValue="True"

 

 

Aggregate="Sum">

 

 

</telerik:GridNumericColumn>

 

 

<telerik:GridBoundColumn HeaderText="Issue No" HeaderButtonType="TextButton" DataField="IssueNumber">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

<

 

CommandItemSettings AddNewRecordText="Add new action"></CommandItemSettings>

 

 

<RowIndicatorColumn>

 

 

<HeaderStyle Width="20px" />

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn>

 

 

<HeaderStyle Width="20px" />

 

 

</ExpandCollapseColumn>

 

<

 

EditFormSettings>

 

<

 

PopUpSettings ScrollBars="Auto" Modal="True" Width="50%"></PopUpSettings>

 

</

 

EditFormSettings>

 

 

<EditItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 

 

Font-Strikeout="False" Font-Underline="False" Wrap="True" />

 

 

<PagerStyle Mode="NextPrevNumericAndAdvanced" />

 

 

</telerik:GridTableView>

 

 

</DetailTables>

 

<

 

RowIndicatorColumn>

 

<

 

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

 

</

 

RowIndicatorColumn>

 

 

<ParentTableRelation>

 

 

<telerik:GridRelationFields DetailKeyField="IssueNumber"

 

 

MasterKeyField="IssueNumber" />

 

 

</ParentTableRelation>

 

<

 

ExpandCollapseColumn Visible="True">

 

<

 

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

 

</

 

ExpandCollapseColumn>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="IssueNumber" DataType="System.Decimal"

 

 

HeaderText="Issue Number" ReadOnly="True" SortExpression="IssueNumber"

 

 

UniqueName="IssueNumber">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Customer" HeaderText="Customer"

 

 

SortExpression="Customer" UniqueName="Customer">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="InitialContact" HeaderText="Initial Contact"

 

 

SortExpression="InitialContact" UniqueName="InitialContact">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="InitialEngineer"

 

 

HeaderText="Initial Engineer" SortExpression="InitialEngineer"

 

 

UniqueName="InitialEngineer">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressName" HeaderText="Address Name"

 

 

SortExpression="AddressName" UniqueName="AddressName">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressNumber" DataType="System.Int32"

 

 

HeaderText="House/Flat Number" SortExpression="AddressNumber"

 

 

UniqueName="AddressNumber">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressStreet1" HeaderText="Street 1"

 

 

SortExpression="AddressStreet1" UniqueName="AddressStreet1">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressStreet2" HeaderText="Street 2"

 

 

SortExpression="AddressStreet2" UniqueName="AddressStreet2">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressStreet3" HeaderText="Street 3"

 

 

SortExpression="AddressStreet3" UniqueName="AddressStreet3">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressCity" HeaderText="City"

 

 

SortExpression="AddressCity" UniqueName="AddressCity">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressCounty" HeaderText="County"

 

 

SortExpression="AddressCounty" UniqueName="AddressCounty">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressCountry" HeaderText="Country"

 

 

SortExpression="AddressCountry" UniqueName="AddressCountry">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AddressPostCode"

 

 

HeaderText="PostCode" SortExpression="AddressPostCode"

 

 

UniqueName="AddressPostCode">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

</

 

MasterTableView>

 

 

<ClientSettings AllowDragToGroup="True">

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

 

 

<asp:SqlDataSource ID="SqlDataSource1" runat="server"

 

 

ConnectionString="<%$ ConnectionStrings:Trident_SLURPConnectionString %>"

 

 

DeleteCommand="DELETE FROM [Core_Support] WHERE [IssueNumber] = @IssueNumber"

 

 

InsertCommand="INSERT INTO [Core_Support] ([Customer], [InitialContact], [InitialEngineer], [AddressName], [AddressNumber], [AddressStreet1], [AddressStreet2], [AddressStreet3], [AddressCity], [AddressCounty], [AddressCountry], [AddressPostCode]) VALUES (@Customer, @InitialContact, @InitialEngineer, @AddressName, @AddressNumber, @AddressStreet1, @AddressStreet2, @AddressStreet3, @AddressCity, @AddressCounty, @AddressCountry, @AddressPostCode)"

 

 

SelectCommand="SELECT * FROM [Core_Support] ORDER BY [Customer]"

 

 

UpdateCommand="UPDATE [Core_Support] SET [Customer] = @Customer, [InitialContact] = @InitialContact, [InitialEngineer] = @InitialEngineer, [AddressName] = @AddressName, [AddressNumber] = @AddressNumber, [AddressStreet1] = @AddressStreet1, [AddressStreet2] = @AddressStreet2, [AddressStreet3] = @AddressStreet3, [AddressCity] = @AddressCity, [AddressCounty] = @AddressCounty, [AddressCountry] = @AddressCountry, [AddressPostCode] = @AddressPostCode WHERE [IssueNumber] = @IssueNumber">

 

 

<DeleteParameters>

 

 

<asp:Parameter Name="IssueNumber" Type="Decimal" />

 

 

</DeleteParameters>

 

 

<UpdateParameters>

 

 

<asp:Parameter Name="Customer" Type="String" />

 

 

<asp:Parameter Name="InitialContact" Type="String" />

 

 

<asp:Parameter Name="InitialEngineer" Type="String" />

 

 

<asp:Parameter Name="AddressName" Type="String" />

 

 

<asp:Parameter Name="AddressNumber" Type="Int32" />

 

 

<asp:Parameter Name="AddressStreet1" Type="String" />

 

 

<asp:Parameter Name="AddressStreet2" Type="String" />

 

 

<asp:Parameter Name="AddressStreet3" Type="String" />

 

 

<asp:Parameter Name="AddressCity" Type="String" />

 

 

<asp:Parameter Name="AddressCounty" Type="String" />

 

 

<asp:Parameter Name="AddressCountry" Type="String" />

 

 

<asp:Parameter Name="AddressPostCode" Type="String" />

 

 

<asp:Parameter Name="IssueNumber" Type="Decimal" />

 

 

</UpdateParameters>

 

 

<InsertParameters>

 

 

<asp:Parameter Name="Customer" Type="String" />

 

 

<asp:Parameter Name="InitialContact" Type="String" />

 

 

<asp:Parameter Name="InitialEngineer" Type="String" />

 

 

<asp:Parameter Name="AddressName" Type="String" />

 

 

<asp:Parameter Name="AddressNumber" Type="Int32" />

 

 

<asp:Parameter Name="AddressStreet1" Type="String" />

 

 

<asp:Parameter Name="AddressStreet2" Type="String" />

 

 

<asp:Parameter Name="AddressStreet3" Type="String" />

 

 

<asp:Parameter Name="AddressCity" Type="String" />

 

 

<asp:Parameter Name="AddressCounty" Type="String" />

 

 

<asp:Parameter Name="AddressCountry" Type="String" />

 

 

<asp:Parameter Name="AddressPostCode" Type="String" />

 

 

</InsertParameters>

 

 

</asp:SqlDataSource>

 

 

<asp:SqlDataSource ID="SqlDataSource2" runat="server"

 

 

ConnectionString="<%$ ConnectionStrings:Trident_SLURPConnectionString %>"

 

 

DeleteCommand="DELETE FROM [Detail_Support] WHERE [RID] = @RID"

 

 

InsertCommand="INSERT INTO [Detail_Support] ([Engineer], [ActionType], [HeaderDesc], [Description], [DateTime], [HoursSpent], [MinutesSpent], [InHours], [IssueNumber]) VALUES (@Engineer, @ActionType, @HeaderDesc, @Description, @DateTime, @HoursSpent, @MinutesSpent, @InHours, @IssueNumber)"

 

 

SelectCommand="SELECT RID, Engineer, ActionType, HeaderDesc, Description, DateTime, HoursSpent, MinutesSpent, InHours, IssueNumber FROM Detail_Support WHERE (IssueNumber = @IssueNumber) ORDER BY DateTime"

 

 

 

 

 

UpdateCommand="UPDATE [Detail_Support] SET [Engineer] = @Engineer, [ActionType] = @ActionType, [HeaderDesc] = @HeaderDesc, [Description] = @Description, [DateTime] = @DateTime, [HoursSpent] = @HoursSpent, [MinutesSpent] = @MinutesSpent, [InHours] = @InHours, [IssueNumber] = @IssueNumber WHERE [RID] = @RID">

 

 

<SelectParameters>

 

 

<asp:ControlParameter ControlID="RadGrid1" Name="IssueNumber"

 

 

PropertyName="SelectedValue" />

 

 

</SelectParameters>

 

 

<DeleteParameters>

 

 

<asp:Parameter Name="RID" Type="Decimal" />

 

 

</DeleteParameters>

 

 

<UpdateParameters>

 

 

<asp:Parameter Name="Engineer" Type="String" />

 

 

<asp:Parameter Name="ActionType" Type="String" />

 

 

<asp:Parameter Name="HeaderDesc" Type="String" />

 

 

<asp:Parameter Name="Description" Type="String" />

 

 

<asp:Parameter Name="DateTime" Type="DateTime" />

 

 

<asp:Parameter Name="HoursSpent" Type="Decimal" />

 

 

<asp:Parameter Name="MinutesSpent" Type="Decimal" />

 

 

<asp:Parameter Name="InHours" Type="Boolean" />

 

 

<asp:Parameter Name="IssueNumber" Type="Decimal" />

 

 

<asp:Parameter Name="RID" Type="Decimal" />

 

 

</UpdateParameters>

 

 

<InsertParameters>

 

 

<asp:Parameter Name="Engineer" Type="String" />

 

 

<asp:Parameter Name="ActionType" Type="String" />

 

 

<asp:Parameter Name="HeaderDesc" Type="String" />

 

 

<asp:Parameter Name="Description" Type="String" />

 

 

<asp:Parameter Name="DateTime" Type="DateTime" />

 

 

<asp:Parameter Name="HoursSpent" Type="Decimal" />

 

 

<asp:Parameter Name="MinutesSpent" Type="Decimal" />

 

 

<asp:Parameter Name="InHours" Type="Boolean" />

 

 

<asp:Parameter Name="IssueNumber" Type="Decimal" />

 

 

</InsertParameters>

 

 

</asp:SqlDataSource>

 

 

<telerik:GridNumericColumnEditor ID="GridNumericColumnEditor1" runat="server">

 

 

<NumericTextBox Culture="English (United Kingdom)" LabelCssClass=""

 

 

DataType="System.Decimal" MaxLength="5" MaxValue="24" MinValue="0"

 

 

ShowSpinButtons="True" Skin="Telerik">

 

 

<NumberFormat AllowRounding="False" DecimalSeparator=":"

 

 

KeepNotRoundedValue="True" />

 

 

</NumericTextBox>

 

 

</telerik:GridNumericColumnEditor>

 

 

<br />

 

 

<telerik:GridNumericColumnEditor ID="GridNumericColumnEditor2" runat="server">

 

 

<NumericTextBox Culture="English (United Kingdom)" LabelCssClass="" MaxValue="59"

 

 

MinValue="0" ShowSpinButtons="True" Skin="WebBlue">

 

 

</NumericTextBox>

 

 

</telerik:GridNumericColumnEditor>

 

 

<br />

 

 

<telerik:GridHTMLEditorColumnEditor ID="GridHTMLEditorColumnEditor1"

 

 

runat="server">

 

<

 

Editor AutoResizeHeight="True" EditModes="HTML" Skin="Telerik" Language="en-GB"><Content>

 

</

 

Content>

 

</

 

Editor>

 

 

</telerik:GridHTMLEditorColumnEditor>

 

 

<br />

 

 

<telerik:RadAjaxManager runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:GridDateTimeColumnEditor ID="GridDateTimeColumnEditor1" runat="server">

 

 

</telerik:GridDateTimeColumnEditor>

 

 

<asp:SqlDataSource ID="SqlDataSource3" runat="server"

 

 

ConnectionString="<%$ ConnectionStrings:Trident_SLURPConnectionString %>"

 

 

SelectCommand="SELECT [Engineer] FROM [DataSources] ORDER BY [Engineer]">

 

 

</asp:SqlDataSource>

 

 

</form>

 

</

 

body>

 

</

 

html>




Thanks for any help anyone can give me.

:-)

 

Robbie
Top achievements
Rank 1
 answered on 16 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?