Telerik Forums
UI for ASP.NET AJAX Forum
14 answers
308 views
I am using RadEditor i have a problem, when <a> tag is not closed then its rendering unwanted duplicate tags.

Before:
<a class="inorya" href="#menu" target="blank"> click to go</a></p>

After:
<p>
<a class="inorya" href="#menu" target="blank"> click to go</p>

Expected Output:

<a class="inorya" href="#menu" target="blank"> click to go</a></p>

when i change to some other view say design or preview and again after returning to html i get

<p>
<a class="inorya" href="#menu" target="blank"> click to go</a></p>
<a class="inorya" href="#menu" target="blank">
<p>

Thanks in advance
Ianko
Telerik team
 answered on 25 Oct 2016
1 answer
129 views

Hello,

I want filtr in  grid between two radsearchbox. I would also that after filtering vaule remained RadSearchBox. My code not working:

 <telerik:GridBoundColumn HeaderText="Name" UniqueName="_amountColumn" DataField="Amount">
                         <FilterTemplate>
                        <telerik:RadSearchBox runat="server" ID="From" Text="Form" OnClientSearch="FromSelected"></telerik:RadSearchBox>
                        <telerik:RadSearchBox runat="server" ID="To" Text="To" OnClientSearch="ToSelected"></telerik:RadSearchBox>

                            <telerik:RadScriptBlock ID="RadScriptBlock" runat="server">
                                <script type="text/javascript">
                                    function FromSelected(sender, args) {
                                        var startValue = FromOrderBrutto.get_value();
                                        var endValue = ToOrderNetto.get_value();

                                        tableView.filter("_amountColumn", startValue + " " + endValue, "Between");

                                    }
                                    function ToSelected(sender, args) {
                                        var startValue = FromOrderBrutto.get_value();
                                        var endValue = ToOrderNetto.get_value();


                                        tableView.filter("_amountColumn", startValue + " " + endValue, "Between");
                                    }
                                 
                                </script>
                            </telerik:RadScriptBlock>
                        </FilterTemplate>

Please help my

Konstantin Dikov
Telerik team
 answered on 25 Oct 2016
2 answers
422 views

So, I have a page with multiple user controls. There is a RadAjaxManager on the page. Each user control needs to make ajaxRequests from javascript, and I would like each control to handle that itself. Is this possible?

So, for instance, I have control1 with the following in its code behind:

protected void Page_Load(object sender, System.EventArgs e)
{
    RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);
    manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(Control1_AjaxRequest);
}

and control2 with

protected void Page_Load(object sender, System.EventArgs e)
{
    RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);
    manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(Control2_AjaxRequest);
}

and in javascript, control1 does

$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest(dataString);

and I end up in Control2_AjaxRequest rather than Control1_AjaxRequest.

Is what I'm trying to do possible? If so, how? I'm currently trying to do this by adding a RadAjaxPanel to each control and invoking ajaxRequest on it, but I'm running into some code block issues with this that weren't there with RadAjaxManager.

Jay
Top achievements
Rank 3
Iron
Iron
Veteran
 answered on 25 Oct 2016
10 answers
326 views
Hi,
When Setting the following property on the combobox
radComboBox.ShowToggleImage = "false"
it correctly does not show the button but it also doesn't
have a keyline to the right hand side of the textbox area.
What must I do to show that border correctly?
Regards
Gareth
Magdalena
Telerik team
 answered on 25 Oct 2016
11 answers
325 views
Hi!
I'm using the radscheduler with a custom advanced form.
Both the advanced form and the page containing it have EnableViewState to true but I'm still having post back issues.
When a control in the advanced form fires a postback, all data binded to the advanced form is cleared and the state of the controls are reset.

How do you prevent this?
thanks!
Peter Milchev
Telerik team
 answered on 25 Oct 2016
11 answers
747 views

Hello,

I have the RadImageGallery implemented using the following:

<telerik:RadImageGallery ID="ImageGallery" RenderMode="Auto" runat="server" LoopItems="true" ShowLoadingPanel="true" AllowPaging="false" DisplayAreaMode="Image" OnNeedDataSource="ImageGallery_NeedDataSource" DataTitleField="ImageTitle" DataDescriptionField="ImageDescription" DataImageField="ImageURL"></telerik:RadImageGallery
         

the Code behind is like this:

Protected Sub ImageGallery_ItemDataBound(sender As Object, e As ImageGalleryItemEventArgs) Handles ImageGallery.ItemDataBound         Dim item As ImageGalleryItem = TryCast(e.Item, ImageGalleryItem)
   Dim db As New DBCorrDefense.DBDCDataContext()
   For Each item In ImageGallery.Items
     Dim EmData = db.CDSP_Get_URLByImageTitle(item.Title).FirstOrDefault
     If EmData Is Nothing Then
     Else
       item.NavigateUrl = EmData.URL
     End If
   Next
      db.Dispose()
      db = Nothing
End Sub

Protected Sub ImageGallery_NeedDataSource(sender As Object, e As Telerik.Web.UI.ImageGalleryNeedDataSourceEventArgs) Handles ImageGallery.NeedDataSource
 Dim db As New DBCorrDefense.DBDCDataContext()
ImageGallery.DataSource = db.CDSP_Get_AllSlides()
 End Sub

 

How is it possible to allow the NavigateURL to open in a new blank page when i click on the ImageItem? currently it is opening in the same page

Thanks

Viktor Tachev
Telerik team
 answered on 25 Oct 2016
1 answer
135 views

Hello,

 

i have little big question.

Is it possible to let a user create his own grid at runtime and save it as XML file into database?

i need to let him:

Add, remove and rename columns.

Group columns,

Set Cell formats

amm...

 

This i want to save as a xmlfile an store it in database.

Is there already something prefabricated?
If not then i have alot of fun to figure it out.

 

Regards

Gu

 

ps. the spreadsheet is not a option, my boss don´t want it like that :(

 

Kostadin
Telerik team
 answered on 25 Oct 2016
6 answers
385 views
Hello, I am populating a radgrid on the NeedDatasource event, the columns are AutoGenerated, I require that some columns be hidden at runtime which I am doing on the ItemDataBound Event using e.Item.Cells[2].Visible = false;.  THis works great however the problem is that the associated column header is not being hidden so I end up with 4 data columns and 8 column headers. I'm I using the wrong event or wrong property to hide the columns.

Thanks

 

Karguvelrajan
Top achievements
Rank 1
 answered on 25 Oct 2016
8 answers
75 views

I don't seem to be able to find the appropriate string resouce name for the RadGrid's paging ComboBox's tool tip.

What is the corresponding string resource name for this item?

Is there a list of available string resource names? Or is there a method to compute the string resouce name from the rendered RadGrid control?

A
Top achievements
Rank 1
 answered on 25 Oct 2016
2 answers
363 views

I have the RadGrid within an RadAjaxPanel, along with some other controls to control which DataTable is to be displayed.

When I'm first sorting the Grid and then going to select another DataTable to display in the Grid, data binding fails with an error message telling me that the Grid cannot find the sorting column I selected for the first DataTable.

How can I reset the Grid's sorting/paging setting so it will start anew with a new DataTable assigned?

A
Top achievements
Rank 1
 answered on 24 Oct 2016
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?