Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
100 views

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!

Alexey
Top achievements
Rank 1
 asked on 20 Feb 2018
0 answers
94 views

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

Thorsten
Top achievements
Rank 1
 asked on 20 Feb 2018
6 answers
452 views
  Hello All,

I am using RadGrid and binding data dynamically in code behind file.

 Code Behind:
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;
  }
}

I have also attached image file of result.

Thanks in Advanced...
Prasanth
Top achievements
Rank 1
 answered on 19 Feb 2018
1 answer
149 views
I'm using the rie_onImageLoading Method to load a serverside Image into the control at Page_Load. Now, when selecting another RadioButton of the list, I would like to load another image (preferably with Ajax/RadAjaxManager without postback) into the control. How can I achieve it? All other controls have sth. like "DataSource", but I'm afraid the RIE doesn't have it...
Vessy
Telerik team
 answered on 19 Feb 2018
11 answers
117 views
I find that the user doesn't get enough feedback when a search is conducted and returns no results. Is there a way to highlight this (non) event?
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 19 Feb 2018
3 answers
145 views
I need to know if there is a setting that will stop the RadEditor from changing all the self closing tags /> to >
Rumen
Telerik team
 answered on 19 Feb 2018
1 answer
125 views
I just used the SplitButton option for the first time, and I'm a bit underwhelmed. It works, yes, but having to add custom Javascript to control the interaction between a button and a separate context menu isn't very integrated. The RadButton should have an option for a 'SplitMenuID' field, which would automatically associate the controls and generate the needed Javascript to make the menu drop down when the downward arrow is clicked, the same way a RadTabStrip and RadMultiPage can be associated with each other without needing to write separate Javascript.
Attila Antal
Telerik team
 answered on 19 Feb 2018
0 answers
72 views

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

Daniel
Top achievements
Rank 1
 asked on 19 Feb 2018
10 answers
284 views
Hi,
i wrote this code into vb net:
Private Const ItemsCityPerRequest As Integer = 10
Public 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 comboData
End Function
Private 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 Function
Private 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 data
End Function

and

aspx code:
<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>

now, the table witn name tab_comuni has 8152 record, and I would like the code that loads the records was fast.
then how do I change the sql query? because when I click on the combobox before you see the 10 selected records, I have to wait several seconds and then when I flow the combo until the end and start loading the other 10 records and so on, waits in the combo empty space. I welcome any advice.

or is there a way to display the drop-down only when the user begins to writing andthe search text? I think it is faster and avoids loading in memory over 8100 records.

I could also use the object AutoCompleteBox with webMethods?

hello and thank you


sujatha
Top achievements
Rank 1
 answered on 19 Feb 2018
1 answer
185 views

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

Eyup
Telerik team
 answered on 19 Feb 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?