Hi all,
i want to have a repeated table with forms. One guy sayd, that i should use grid for this. So i want to create something like:
<grid ID="Grid1" runat="server" DataSourceID=???>
<MasterTableView DataKeyNames="fldId" DataSourceID=??? AutoGenerateColumns="False">
<form runat="server" ID=??? DataSourceID=??? DataKeyNames="fldId">
</form>
</MasterTableView >
</grid>
The form is created with fields from DB based on the fldId and i want to have repeated forms with all fldId's. I hope your can understand my idea.
Thank you in advance!
Hi,
is it possible to diable the automatic calculation of a summary task. My goal is it to have a specifiv start and end for the summary task not depending on the start and end of the child-tasks.
best regards
Thorsten
RadGrid grSampleWorkSheet = new RadGrid(); grSampleWorkSheet.ID = WSheet.Name + "-" + m_LoopCount.ToString(); //grSampleWorkSheet.Columns.Remove(0);// = false; grSampleWorkSheet.ShowGroupPanel = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["ShowGroupPanel"]); grSampleWorkSheet.AllowPaging = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["AllowPaging"]); grSampleWorkSheet.ShowFooter = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["ShowFooter"]); grSampleWorkSheet.ShowStatusBar = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["ShowStatusBar"]); grSampleWorkSheet.Skin = Convert.ToString(System.Configuration.ConfigurationManager.AppSettings["TelerikSkin"]); grSampleWorkSheet.MasterTableView.PagerStyle.Mode = GridPagerMode.NumericPages; WorkSheetID = WSheet.ID; strWorkSheetID = objWorkSheet[0].Name; //if (ddlWorkSheets.SelectedValue == strWorkSheetID) //{ dtworksheet = GenerateNormalizedRateSheet.GenerateDomesticSampleData(objRateSheet, WorkSheetID, out ErrorCode); if (string.IsNullOrEmpty(ErrorCode)) { if (dtworksheet != null && dtworksheet.Rows.Count > 0) { grSampleWorkSheet.DataSource = dtworksheet; grSampleWorkSheet.Columns.Remove(0); grSampleWorkSheet.DataBind(); grSampleWorkSheet.MasterTableView.DataSource = dtworksheet; grSampleWorkSheet.MasterTableView.Columns.Remove(0); grSampleWorkSheet.MasterTableView.DataBind(); Label lblDomesticTitle = new Label(); lblDomesticTitle.ID = "lbl-" + WorkSheetID; lblDomesticTitle.Text = "<h5>" + strWorkSheetID + "</h5>"; PhSampleData.Controls.Add(lblDomesticTitle); PhSampleData.Controls.Add(grSampleWorkSheet); btnNextStep.Enabled = true;
}
}


Hi - I found something strange in the RadGrid. I have a grid which has four frozen columns and a number dynamic columns. Each column is filled with a textbox, and this area scrolls to the right.
When scrolling across dynamic columns, it works fine using the horizontal scroll bar. But when I tab through the text boxes, some frozen columns get lost, and the headers do not match up to the columns they belong to.
Please see the attached screen shot. We have a telerik license, is there any way to do a screen share with a telerik engineer to troubleshoot?
Thanks
Daniel
Private Const ItemsCityPerRequest As Integer = 10Public Shared Function GetCityNames(ByVal context As RadComboBoxContext) As RadComboBoxData Dim data As DataTable = Getcomuni(context.Text) Dim comboData As New RadComboBoxData() Dim itemOffset As Integer = context.NumberOfItems Dim endOffset As Integer = Math.Min(itemOffset + ItemsCityPerRequest, data.Rows.Count) comboData.EndOfItems = endOffset = data.Rows.Count Dim result As New List(Of RadComboBoxItemData)(endOffset - itemOffset) For i As Integer = itemOffset To endOffset - 1 Dim itemData As New RadComboBoxItemData() itemData.Text = data.Rows(i)("descrizione").ToString() itemData.Value = data.Rows(i)("id").ToString() result.Add(itemData) Next REM ottengo il messaggio dei record selezionati comboData.Message = GetStatusMessage(endOffset, data.Rows.Count) comboData.Items = result.ToArray() Return comboDataEnd FunctionPrivate Shared Function GetStatusMessage(ByVal offset As Integer, ByVal total As Integer) As String If total <= 0 Then Return "Nessun dato" End If Return [String].Format("Record <b>1</b>-<b>{0}</b> out of <b>{1}</b>", offset, total)End FunctionPrivate Shared Function Getcategoria(ByVal text As String) As DataTable Dim adapter As New SqlDataAdapter("SELECT * from Tab_categorie WHERE descrizione LIKE @text + '%'", ConfigurationManager.ConnectionStrings("TrycontactString").ConnectionString) adapter.SelectCommand.Parameters.AddWithValue("@text", text) Dim data As New DataTable() adapter.Fill(data) Return dataEnd Function<telerik:RadComboBox ID="Radcity" Runat="server" Height="145px" LoadingMessage="Caricamento..." Width="270px" EmptyMessage="Seleziona la tua città " EnableLoadOnDemand="True" EnableVirtualScrolling="True" ShowMoreResultsBox="True" Filter="StartsWith"> <WebServiceSettings Method="GetCityNames" Path="index.aspx" /></telerik:RadComboBox>I'm trying to find/reference the RADimagegallery ID within a RadDataList via PageLoad() javascript. How do I reference the RadImageGallery control inside a RadDataList to START the slideshow automatically.
function pageLoad() {
var parentElement = $get("<%= RentalListingDataList.ClientID%>");
$find('<%=RadImageGallery1.ClientID%>').playSlideshow(); <=== this errors
}
Note : I am loading the images from the directory and filename from the database
