Result:
ID RefID Schedule FabricIDSKU MarkerID
5 1 101 F1 Null
then goto the third level and update the markerID. where Level3.RefID=parent (level2.ID)
I've two problems:
1- Level1 and level2 are expanding okay but i'm not able to expand level three.
2- After I've copy the recoerd through the stored procedure I run
| Me.Marker_DS.DataBind() |
| Me.RadGrid3.DataBind() |
After that the grid Collapse only level1 are displayed.
Code:
=====
| <radG:RadGrid ID="RadGrid3" runat="server" AllowAutomaticDeletes="True" AllowAutomaticUpdates="True" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="Schedules_DS" GridLines="None" Height="100%" Skin="Office2007" Width="100%" AllowFilteringByColumn="True" EnableAJAX="True"> |
| <PagerStyle Mode="NumericPages" /> |
| <MasterTableView AllowMultiColumnSorting="True" DataKeyNames="ScheduleNo" DataSourceID="Schedules_DS" Width="100%"> |
| <DetailTables> |
| <radG:GridTableView runat="server" Caption="<<<--- S C H E D U L E . . . . I T E M S --->>>" DataKeyNames="ID,ScheduleNo" DataSourceID="FabricSKU_DS" Width="100%"> |
| <ParentTableRelation> |
| <radG:GridRelationFields DetailKeyField="ScheduleNo" MasterKeyField="ScheduleNo" /> </ParentTableRelation> |
| <DetailTables> |
| <radG:GridTableView runat="server" Caption="<<<--- M A R K E R S . . . . D E T A I L S --->>>" DataKeyNames="RefID" DataSourceID="Marker_DS" Width="100%"> |
| <ParentTableRelation> |
| <radG:GridRelationFields DetailKeyField="RefID" MasterKeyField="ID" /> </ParentTableRelation> |
DataSource are:
=============
| <asp:SqlDataSource ID="Schedules_DS" runat="server" ConnectionString="<%$ ConnectionStrings:BMSPTConnS %>" |
| SelectCommand="SELECT ScheduleNo, Date, CustPO FROM dbo.MarkerDetails GROUP BY RefID, ScheduleNo, TIEPO, CustPO HAVING (RefID IS NULL)"> </asp:SqlDataSource> |
| <asp:SqlDataSource ID="FabricSKU_DS" runat="server" ConnectionString="<%$ ConnectionStrings:BMSPTConnS %>" |
| SelectCommand="SELECT ScheduleNo, Style, StyleName, ColorName, ID, FabricIDSKU FROM dbo.MarkerDetails WHERE (RefID IS NULL AND ScheduleNo=@ScheduleNo)"> |
| <SelectParameters> |
| <asp:SessionParameter Name="ScheduleNo" SessionField="ScheduleNo" Type="String" /> |
| </SelectParameters> |
| </asp:SqlDataSource> |
| <asp:SqlDataSource ID="Marker_DS" runat="server" ConnectionString="<%$ ConnectionStrings:BMSPTConnS %>" |
| OldValuesParameterFormatString="original_{0}" |
| SelectCommand="SELECT [ID],[RefID],[MarkerID],[ScheduleNo],[MOQty],[Style],[StyleName],[ColorName],[FabricIDSKU],[FabricWidth],[MarkerLength] FROM [MarkerDetails] WHERE [ScheduleNo] =@ScheduleNo" |
| UpdateCommand="UPDATE MarkerDetails SET [MarkerID] = @MarkerID,[FabricWidth]=@FabricWidth,[MarkerLength]=@MarkerLength,[Layers]=@Layers WHERE ID = @original_ID"> |
| <SelectParameters> |
| <asp:SessionParameter Name="ScheduleNo" SessionField="ScheduleNo" Type="decimal" /> |
| <asp:SessionParameter Name="ID" SessionField="ID" Type="decimal" /> |
| </SelectParameters> |
| <UpdateParameters> |
| <asp:Parameter Name="MarkerID" /> |
| <asp:Parameter Name="FabricWidth" /> |
| <asp:Parameter Name="MarkerLength" /> |
| <asp:Parameter Name="Layers" /> |
| <asp:Parameter Name="original_ID"/> |
| </UpdateParameters> |
Code Behind:
===========
| Protected Sub RadGrid3_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid3.SelectedIndexChanged |
| Dim OldDbCon As String = ConfigurationManager.ConnectionStrings("BMSPTConnS").ConnectionString |
| Dim dbCon As SqlConnection |
| dbCon = New SqlConnection(OldDbCon) |
| Try |
| Dim Command As New SqlClient.SqlCommand("usp_InsertMarkerDetails", dbCon) |
| Command.CommandType = CommandType.StoredProcedure |
| Dim parameterID As New SqlParameter("@ID", SqlDbType.BigInt, 11) |
| parameterID.Value = RadGrid3.SelectedValue |
| Command.Parameters.Add(parameterID) |
| dbCon.Open() |
| Command.ExecuteNonQuery() |
| dbCon.Close() |
| Me.Marker_DS.DataBind() |
| Me.RadGrid3.DataBind() |
| Finally |
| dbCon.Dispose() |
| End Try |
| End Sub |
Any help will be appreciated.
Mohamed
function
OnClientTabSelecting(sender,args)
{
var newTabValue = args.get_tab().get_value();
var oldTabValue = sender.get_selectedTab().get_value();
document.getElementById(
'<%=hdnCurrentTabid.ClientID%>').value=oldTabValue;
return false;
}
var d=a.getClientRects(); it say that the method is undefined.
Thanks and have a nice day!
Guillaume
1. List items not showing telerik editor (whenever we add multiline richtext box as column to list it should show telerik editor)
Best Regards,
Shekhar Kulkarni
Mobile: +358-40-360-0665
<
ClientSettings>
<Selecting AllowRowSelect="True" />
<ClientEvents OnRowSelecting="Selecting" />
</ClientSettings>
| <script type="text/javascript"> |
| var a = Array; |
| window.onload = function () |
| { |
| var inp = document.getElementById('Sel'); |
| var data = inp.value; |
| if(data != "") |
| { |
| var rowsData = data.split(":"); |
| var i=0; |
| while(typeof(rowsData[i]) != "undefined") |
| { |
| if (rowsData[i] != "") |
| { |
| a[i] = rowsData[i]; |
| } |
| i++; |
| } |
| } |
| } |
| function Selecting (row) |
| { |
| var i = 0; |
| while(typeof(a[i]) != "undefined") |
| { |
| if (a[i++] == row.Index) |
| { |
| return false; |
| } |
| } |
| } |
| </script> |
I have set the grid PagerStyle mode='Slider". When dragging the knob, the page number is not displayed on the text (Page n of m). When I release the knob (stop dragging), it displays the current page.
This is happening with v2009.1.402.35. If I just replace the DLL with version 2009.1.311.35 it works. This is happening on IE8 and FF.
Regards,
Teo

How can I allow-disallow certain filters (including custom filter) to work or not to work while getting HTML content and design content?
Basically while doing get_html to get html for saving I want to execute following filter
1. My Custom Filter1
2. OptimizeSpans
3. ConvertToXhtml
4. IECleanAnchors
And while switching to html mode by my custom tool using set_mode command I want to execute only IndentHTMLContent filter.
How can I achieve this? Is there any way to execute the filters, changes the sequence in which filter executes and all from JavaScript?
