When i check nodes in a tree (by mouse) selected values appended in title. Which is good.
However, on server side node is getting checked, but title stays empty.
Here is my code:
rddtRegion.DataSource = dtContractCounties
rddtRegion.DataBind()
For Each dr As DataRow In dtSelectedCounties.Rows
Dim nodeValue As String = dr("CountyID")
Dim node_region As RadTreeNode = rddtRegion.EmbeddedTree.FindNodeByValue(nodeValue)
node_region.Checked = True
Next
Please advice
https://demos.telerik.com/aspnet-ajax/button/examples/css3buttons/defaultcs.aspx?skin=Bootstrap
The issue is visible within the above demo. I attached a screenshot comparing Sunset theme (Focus does work on this theme) to Bootstrap.
Is there a workaround for this?
Hi Team,
I am working on something where the page will render only on activeon RadWizard.
But in this case my Update panel doesnt work as expected.
eg: On selection of a dropdown,depending on yes or no ;some other control will be visible which is called through teleik ajax request. but this is not working.
If you can help on this.
Many thanks.
I've selected a single word from the content which is copied in the RADEditor and did the following actions.
1) Apply "Underline" option to the word which I selected
2) Placed the cursor on the last letter of the word (which selected on above step) and pressed the enter key two times. It's giving us two empty row.
3) Select "Preview" button in the RADEditor.
Now, I see that one underline '-' is being displayed in the empty row.
If I follow the above step in MS-Word, no underline has coming after you press the enter button. Why it's showing in RADEditor?
Note: In RADEditor, If I press the enter button on the space which is next to the word which I selected, no underline '-'. is coming on the empty row..
Hi all,
I had same problems with delete command on hierarchical grid. I think the problem it's caused by different declaration between DataKeyNames in grid and DeleteParameters in SqlDataSource.
Here is my code
<
MasterTableView
DataSourceID
=
"SqlDataSource1"
DataKeyNames
=
"VersamentoId"
AllowMultiColumnSorting
=
"True"
<br> Width="100%" CommandItemDisplay="Top" Name="Versamenti" EditMode="Batch"><
br
> <
DetailTables
><
br
> <
telerik:GridTableView
DataKeyNames
=
"VersamentoId,ConsumoID"
DataSourceID
=
"SqlDataSource2"
Width
=
"80%"
AllowAutomaticDeletes
=
"true"
AllowFilteringByColumn
=
"false"
AllowAutomaticInserts
=
"true"
AllowAutomaticUpdates
=
"true"
<br> runat="server" CommandItemDisplay="Bottom" Name="Consumi" BorderColor="Navy" BorderStyle="Solid" BorderWidth="2" EditMode="Batch"><
br
> <
ParentTableRelation
><
br
> <
telerik:GridRelationFields
DetailKeyField
=
"VersamentoId"
MasterKeyField
=
"VersamentoId"
></
telerik:GridRelationFields
><
br
> </
ParentTableRelation
>
.....
<
p
><
asp:SqlDataSource
ID
=
"SqlDataSource2"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:iRoncadin %>"<
br
> DeleteCommand="[dbo].[mes_spDeleteConsumoDaProduzione]" DeleteCommandType="StoredProcedure"<
br
> InsertCommand="RO_Portal_SP_InsertConsumoDaProduzione" InsertCommandType="StoredProcedure"<
br
> SelectCommand="SELECT<
br
> mwcpp.ID as ConsumoID<
br
> , mwcpp.DocEntryOP<
br
> , mwcpp.DocEntryFather<
br
> , mwcpp.U_WordCode<
br
> , mwcpp.U_OprCode<
br
> , mwcpp.ItemCode<
br
> , mwcpp.U_Revision<
br
> , mwcpp.Quantity<
br
> , mwcpp.Status<
br
> , mwcpp.CreateDate<
br
> , mwcpp.UpdateDate<
br
> , mwcpp.DestDocEntry<
br
> , mwcpp.DestLineNum<
br
> , mwcpp.AlternativeCode<
br
> , mwcpp.TipologiaId<
br
> , mwcpp.VersamentoId<
br
> FROM dbo.MES_wsConsumoPerProduzione mwcpp where VersamentoId = @VersamentoId"<
br
> UpdateCommand="UPDATE dbo.MES_wsConsumoPerProduzione<
br
> SET <
br
> DocEntryOP = @DocEntryOP<
br
> , DocEntryFather = @DocEntryFather<
br
> , U_WordCode = @U_WordCode<
br
> , U_OprCode = @U_OprCode<
br
> , ItemCode = @ItemCode<
br
> , Quantity = @Quantity<
br
> , AlternativeCode = @AlternativeCode<
br
> WHERE ID = @ConsumoID"<
br
> ProviderName="<%$ ConnectionStrings:iRoncadin.ProviderName %>"><
br
> <
SelectParameters
><
br
> <
asp:Parameter
Name
=
"VersamentoId"
Type
=
"Int32"
></
asp:Parameter
><
br
> </
SelectParameters
><
br
> <
DeleteParameters
><
br
> <
asp:Parameter
Name
=
"ConsumoID"
Type
=
"Int32"
></
asp:Parameter
><
br
> </
DeleteParameters
></
p
><
p
></
p
>
The stored procedure called to delete the row of first child grid is this
[dbo].[mes_spDeleteConsumoDaProduzione] @ID
INT
but, as you can see, DataKeyNames in first child grid are VersamentoId,ConsumoID. This is done because VersamentoId is the correlation key with parent grid and ConsumoId is the correlation key with another child grid.
When I try to delete a row of first child grid, system return the following error
Procedure
or
function
mes_spDeleteConsumoDaProduzione has too many arguments specified.
Anyone knows a solution to bring together hierarchical grids and delete of child rows?
Thanks a lot
Hello,
I have successfully implemented a custom provider for RadSpreadsheet following the example here: http://www.telerik.com/support/code-library/spreadsheetdatabaseprovider.
I would like to be able to update a RadLabel on the same webform with some data derived from the saved sheet (for example, the count of rows). I have passed a reference to the RadLabel into the constructor of the custom provider and am setting it there:
public
class
PerformanceSheetProvider : SpreadsheetProviderBase
{
private
readonly
RadLabel _resultLabel;
public
PerformanceSheetProvider(RadLabel resultLabel)
{
_resultLabel = resultLabel;
}
public
override
void
SaveWorkbook(Workbook workbook)
{
_resultLabel.Text = workbook.Sheets[0].Rows.Count.ToString();
}
...
However, the RadLabel value is not updated. I have also tried refreshing the update panel in which the label is contained in the client-side override of _onCallbackResponse:
Telerik.Web.UI.RadSpreadsheet.prototype._onCallbackResponse =
function
() {
$find(
"<%= RadAjaxPanel2.ClientID %>"
).ajaxRequest();
}
...but the label is still not updated.
Any suggestions?
Thanks!