Hello
Simple setup ; I have two RadnumericTextboxes with spinbuttons enabled.
Is it possible to have the second Textbox reflect the first when I change the value using the arrowkeys ?
I can only get it to update when i leave the first control, I need it to correspond "live" .
I appreciate any help to the matter.
Mark
Hi,
I have a RadToolbar with a ToolbarDropDown inside it. I have an onclicking client event on the toolbar which I am using to detect if the dropdown button selected is a particular command. If it is, I am doing set_cancel(true), then populating another dropdown on the page with certain values via ajax. The setting of the values is working fine. My problem is, when I do the set_cancel, the toolbardropdown text does not change to what the user selected. For example, take the following:
<
telerik:RadToolBarDropDown
ImagePosition
=
"Right"
DropDownWidth
=
"250"
>
<
Buttons
>
<
telerik:RadToolBarButton
Text
=
"Hello"
Value
=
"1"
></
telerik:RadToolBarButton
>
<
telerik:RadToolBarButton
Text
=
"Goodbye"
Value
=
"1"
></
telerik:RadToolBarButton
>
</
Buttons
>
</
telerik:RadToolBarDropDown
>
On my web page, the button selected is "Hello". If I change the dropdown to select "Goodbye", all my client code is executed without issue, but the text on the dropdown remains "Hello" instead of changing to "Goodbye". I've tried setting it manually but no luck. Is there a way around this? It works ok for me if I do a postback, but I'm trying to avoid a postback.
Thanks!
Richard
applied for RadAsyncUpload remove, cancel and browse button. CSS applied to cancel and browse button, but not on remove button. Please help to resolve the issue.
CSS:
RadUpload
{
-color#00A5DB;
-position: 0 -46px;
: 24px;
: 90px;
-family: Arial;
-size: 10pt;
: White;
-weightbold;
}
RadUpload
{
-color#00A5DB;
-position: 0 -23px;
: 24px;
: 70px;
-family: Arial;
-size: 10pt;
: White;
-weightbold;
}
RadUpload
{
-color#00A5DB;
-position: 0 -23px;
: 24px;
: 70px;
-family: Arial;
-size: 10pt;
: White;
-weightbold;
}
I have a standard asp.net application which uses Telerik UI for ASP.net AJAX and after I have successfully deployed it as a web app in Azure, I cannot click/use any of the Telerik controls.
For example, I can't click the paging links in a radGrid, I can't click the dropdown list, etc.
I have set all of the references to copy local = true.
There seems to be something else required for Azure but not sure what. The site works 100% if deployed to a standard web server running IIS.
Can someone please assist.
Thank you.
I would like to execute a stored procedure for each record where the last name column is empty but I can't seem to get this to work.
Grid Code
<
telerik:RadGrid
ID
=
"rgd_OrdersNew"
runat
=
"server"
CellSpacing
=
"0"
DataSourceID
=
"sds_ETP_OrdersNew"
GridLines
=
"None"
AllowSorting
=
"True"
>
<
MasterTableView
AutoGenerateColumns
=
"False"
DataSourceID
=
"sds_ETP_OrdersNew"
DataKeyNames
=
"IDOrder, InvoiceNumber, OrderLastName"
ClientDataKeyNames
=
"IDOrder, InvoiceNumber, OrderLastName"
HeaderStyle-Wrap
=
"False"
HeaderStyle-HorizontalAlign
=
"Center"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to PDF"
></
CommandItemSettings
>
<
RowIndicatorColumn
Visible
=
"True"
FilterControlAltText
=
"Filter RowIndicator column"
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
Visible
=
"True"
FilterControlAltText
=
"Filter ExpandColumn column"
>
</
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridTemplateColumn
DefaultInsertValue
=
""
HeaderText
=
" "
UniqueName
=
"TemplateColumn"
ItemStyle-HorizontalAlign
=
"Center"
ItemStyle-Width
=
"10px"
ItemStyle-CssClass
=
"radgrid_count"
FooterStyle-CssClass
=
"radgrid_count"
>
<
ItemTemplate
>
<%# Container.ItemIndex+1 %>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
DataField
=
"InvoiceNumber"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter InvoiceNumber column"
HeaderText
=
"Invoice"
SortExpression
=
"InvoiceNumber"
UniqueName
=
"InvoiceNumber"
ItemStyle-HorizontalAlign
=
"Center"
DataFormatString
=
"ETP-{0}"
ItemStyle-ForeColor
=
"#597791"
ItemStyle-Width
=
"60px"
ItemStyle-Wrap
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"IDOrder"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter IDOrder column"
HeaderText
=
"Order ID"
SortExpression
=
"IDOrder"
UniqueName
=
"IDOrder"
ItemStyle-HorizontalAlign
=
"Center"
Visible
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OrderStatus"
FilterControlAltText
=
"Filter OrderStatus column"
HeaderText
=
"Status"
ReadOnly
=
"True"
SortExpression
=
"OrderStatus"
UniqueName
=
"OrderStatus"
Visible
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"ShippingMethod"
FilterControlAltText
=
"Filter ShippingMethod column"
HeaderText
=
"Shipping"
ReadOnly
=
"True"
SortExpression
=
"ShippingMethod"
UniqueName
=
"ShippingMethod"
Visible
=
"True"
ItemStyle-Wrap
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"IDCustomer"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter IDCustomer column"
HeaderText
=
"Customer ID"
SortExpression
=
"IDCustomer"
UniqueName
=
"IDCustomer"
ItemStyle-HorizontalAlign
=
"Center"
Visible
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DateOrder"
DataType
=
"System.DateTime"
FilterControlAltText
=
"Filter DateOrder column"
HeaderText
=
"Order Date"
SortExpression
=
"DateOrder"
UniqueName
=
"DateOrder"
ItemStyle-HorizontalAlign
=
"Right"
DataFormatString="<nobr>{0}</
nobr
>">
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OrderCompany"
FilterControlAltText
=
"Filter OrderCompany column"
HeaderText
=
"Company"
SortExpression
=
"OrderCompany"
UniqueName
=
"OrderCompany"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OrderLastName"
FilterControlAltText
=
"Filter OrderLastName column"
HeaderText
=
"Last Name"
SortExpression
=
"OrderLastName"
UniqueName
=
"OrderLastName"
ItemStyle-Width
=
"100px"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OrderFirstName"
FilterControlAltText
=
"Filter OrderFirstName column"
HeaderText
=
"First Name"
SortExpression
=
"OrderFirstName"
UniqueName
=
"OrderFirstName"
ItemStyle-Width
=
"100px"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OrderStep"
FilterControlAltText
=
"Filter OrderStep column"
HeaderText
=
"Step"
SortExpression
=
"OrderStep"
UniqueName
=
"OrderStep"
ItemStyle-HorizontalAlign
=
"Center"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OrderAmount"
DataType
=
"System.Decimal"
FilterControlAltText
=
"Filter OrderAmount column"
HeaderText
=
"Order Total"
SortExpression
=
"OrderAmount"
UniqueName
=
"OrderAmount"
DataFormatString
=
"{0:C}"
ItemStyle-HorizontalAlign
=
"Right"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"PayMethodType"
FilterControlAltText
=
"Filter PayMethod column"
HeaderText
=
"Pay Method"
SortExpression
=
"PayMethodType"
UniqueName
=
"PayMethodType"
ItemStyle-HorizontalAlign
=
"Center"
ItemStyle-Wrap
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"CardType"
FilterControlAltText
=
"Filter CardType column"
HeaderText
=
"CardType"
SortExpression
=
"CardType"
UniqueName
=
"CardType"
ItemStyle-HorizontalAlign
=
"Center"
Visible
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Items"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter Items column"
HeaderText
=
"Items"
SortExpression
=
"Items"
UniqueName
=
"Items"
ItemStyle-HorizontalAlign
=
"Center"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Sheets"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter Sheets column"
HeaderText
=
"Sheets"
SortExpression
=
"Sheets"
UniqueName
=
"Sheets"
ItemStyle-HorizontalAlign
=
"Center"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"PastOrdersCount"
DataType
=
"System.Int32"
FilterControlAltText
=
"Filter PastOrdersCount column"
HeaderText
=
"Orders"
SortExpression
=
"PastOrdersCount"
UniqueName
=
"PastOrdersCount"
ItemStyle-HorizontalAlign
=
"Center"
ItemStyle-BackColor
=
"#CCFFCC"
>
</
telerik:GridBoundColumn
>
</
Columns
>
<
EditFormSettings
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
ClientSettings
>
<
Resizing
AllowColumnResize
=
"true"
ResizeGridOnColumnResize
=
"true"
AllowResizeToFit
=
"true"
/>
<
Selecting
AllowRowSelect
=
"True"
></
Selecting
>
<
ClientEvents
OnRowDblClick
=
"OrderDetails_OnRowDblClick"
/>
</
ClientSettings
>
<
HeaderStyle
Font-Bold
=
"True"
HorizontalAlign
=
"Center"
/>
<
FilterMenu
EnableImageSprites
=
"False"
>
</
FilterMenu
>
</
telerik:RadGrid
>
Code Behind
Protected
Sub
rgd_OrdersNew_DataBound(sender
As
Object
, e
As
System.EventArgs)
Handles
rgd_OrdersNew.DataBound
For
Each
gridDataItem
As
GridDataItem
In
rgd_OrdersNew.Items
Dim
OrderLastName
As
String
= gridDataItem(
"OrderLastName"
).Text
If
OrderLastName
Is
Nothing
OrElse
OrderLastName =
String
.Empty
Then
Dim
IDOrder
As
String
= gridDataItem.GetDataKeyValue(
"IDOrder"
).ToString()
Dim
connectionString
As
String
=
DirectCast
(ConfigurationManager.ConnectionStrings(
"ETP_OPS_ConnectionString"
).ConnectionString,
String
)
Dim
connection
As
New
SqlConnection(connectionString)
Dim
command
As
New
SqlCommand(connectionString, connection)
command =
New
SqlCommand(
"sp_Fix_Order"
, connection)
command.CommandType = CommandType.StoredProcedure
command.Connection.Open()
command.Parameters.Add(
"@IDOrder"
, SqlDbType.Int).Value = IDOrder
command.ExecuteNonQuery()
command.Connection.Close()
End
If
Next
End
Sub
Thank you as always.
i want to export a aspx page to SVG . that is Scrollable and when i save it to SVG that content is not complete converted and most of the content is vanish.
please explain to me how can I convert scrollable page to SVG.
thank u
GOD speed U
Hi guys,
We have been using Telerik UI on our websites (www.ssw.com.au, rules.ssw.com.au) for a while now and it's been working well. But one of our latest requirements was to render the items dynamically from a data file (possibly coming from a database in the future) and that was really painful to change since each level had its own template. At the end I had to move the templates into code instead declaratively (I found this example which helped me a lot: http://www.telerik.com/support/kb/aspnet-ajax/menu/details/mega-drop-down-menu-bind-to-xml-datasource-).
The second requirement is to make the mega menu responsive which by the look of it Telerik UI does not support. If that's the case we'll have to complete ditch the Telerik Menu and create our own version of it.
Do you have any input on how to make the menu responsive? It seems the Telerik UI hasn't been updated for a while as well, should we move to Kendo instead?
Thank you.
Cheers,
Thiago Passos
Hi,
I have added two panels above the aspx apge to hide the controls and show the some controls in Panel2.
When I use the panels all controls are not accessable. but the Calender control open calender popup screen enabled above the panels. why its happing like this?
how to prevent this.
Hi,
If you have a radgrid with a button column that fires a command when pressed like so:
<telerik:GridButtonColumn UniqueName="btnCol" HeaderText="Script" CommandName="BtnPressed" Text="Show">
</telerik:GridButtonColumn>
Then in the c# event function for the radgrid:
protected void RadGrid_ItemCommand(object sender, GridCommandEventArgs e)
{
if (e.CommandName == "BtnPressed")
{
if (e.Item is GridDataItem)
{
GridDataItem item = (GridDataItem)e.Item;
string cellVal = Convert.ToString(item["cellOne"].Text);
Everything works fine, if you click on row 0, cellVal will equal the value of [row 1, cell 1], if you click row 3, cellVal will equal the value of [row 3, cell 1], etc.
Adding this to the radgrid:
<ClientSettings>
<ClientEvents OnCommand="OnCommand" />
</ClientSettings>
And then this javascript:
function OnCommand(sender, args) {
// Empty function
}
This will completely break the rad grid button column. Now if you click a button on any row in the grid, you will always receive data from the first row in the RadGrid_ItemCommand function. E.g if you click on the button in row 6 you will receive the data from [row 1, cell 1].
Hello,
I am trying to implement related dropdownlist following this demo.
But My dropdownlists are in a RadGrid and I get an error message related to the ControlParameter. It is unable to find the master Dropdownlist. (the ControlId)
Anyone would have a solution to this problem?
Thanks in advance.