Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
406 views

I have added a Captcha control to the Layout Template of the Login control and it works fine. Is the following code needed to validate on the server-side in case a malicious user manages to bypass client validation and submit the form, or would that not be possible?

protected void LoginUser_LoggingIn(object sender, System.Web.UI.WebControls.LoginCancelEventArgs e)
{
    RadCaptcha RadCaptcha1 = LoginUser.FindControl("RadCaptcha1") as RadCaptcha;
    RadCaptcha1.Validate();
    if (!RadCaptcha1.IsValid)
    {
       e.Cancel = true;
    }
}

Ianko
Telerik team
 answered on 07 Jun 2016
1 answer
142 views

Hi, 

RadGantt for Telerik ASP.NET Ajax control has a media query for Day/Week/Month View Buttons. If RadGantt.Width < 1024px then, it combines buttons but looks weird in readonly mode. It floats over border lines.

I need to override this behaviour to make these buttons always visible (not combined)

Is there any way to do this?

(I attached a gif for better explanation)

Veselin Tsvetanov
Telerik team
 answered on 07 Jun 2016
1 answer
131 views

While using radEditor, If we try to get the value of the editor using "get_html()" function, <br /> tag gets appended in the end if the radEditor is empty.
I tried using "get_html(true)" function. In this case ,<br /> is not appended at the end but the trailing space gets truncated.

How should I fetch the value from RadEditor so that <br /> is not appended at the end and also the trailing space is not truncated ?

Ianko
Telerik team
 answered on 07 Jun 2016
2 answers
100 views

Hi All or Telerik Team

Any one know about the situation like me when using Track changes on editor UI control with Asian input methods?

i'm going to purchase this UI library but just hesitate since i can't record the new added words when we are using Chinese or all other Asian input method with this control, once we change the input method on windows it will not able to create new words with TRACKED tag.

http://demos.telerik.com/aspnet-ajax/editor/examples/trackchanges/defaultcs.aspx

Joana
Telerik team
 answered on 07 Jun 2016
3 answers
245 views

I am adding a radEditor to a radGrid which is on pop up window for an ASP.Net application. However when I add the control and render the page the radEditor is unresponsive and does not allow me to add text or use any of the controls on the toolbar. When I debug in the browser there is an error message "Uncaught Type Error: a[b] is not a function". Is there any known issues of having the radEditor inside a radGrid? below is the tag structure.

 

<telerik:RadAjaxPanel>

   <telerik:RadGrid>

      <mastertableview>

         <EditFormSettings>

            <FormTemplate>

               <div>

                  <telerik:RadEditor ID="radID" runat="server" Content='<%# Bind("stuff") %>'></telerik:RadEditor>

              </div> `

            </FormTemplate>

         </EditFormSettings>

      </mastertableview>

   </telerik:RadGrid>

</telerik:RadAjaxPanel>

I am adding a radEditor to a radGrid which is on pop up window for an ASP.Net application. However when I add the control and render the page the radEditor is unresponsive and does not allow me to add text or use any of the controls on the toolbar. When I debug in the browser there is an error message "Uncaught Type Error: object is not a function". Is there any known issues of having the radEditor inside a radGrid?

I am adding a radEditor to a radGrid which is on pop up window for an ASP.Net application. However when I add the control and render the page the radEditor is unresponsive and does not allow me to add text or use any of the controls on the toolbar. When I debug in the browser there is an error message "Uncaught Type Error: object is not a function". Is there any known issues of having the radEditor inside a radGrid?

I am adding a radEditor to a radGrid which is on pop up window for an ASP.Net application. However when I add the control and render the page the radEditor is unresponsive and does not allow me to add text or use any of the controls on the toolbar. When I debug in the browser there is an error message "Uncaught Type Error: object is not a function". Is there any known issues of having the radEditor inside a radGrid?

Ianko
Telerik team
 answered on 07 Jun 2016
1 answer
346 views

Hi.

I am using RadMenuItem for Vertical Navigation bar. But I am unable to place the child menus just below the parent one. All the parent menus should drift down keeping the child menu with the parent one. Right now , it is displaying over the next parent menu which I do not want.

Also, please help me out with CSS part as the CSS which I am applying is not working. Let say, we need to change the back color, size(height and width) of both parent and child menu item.

Also, is there any way out in telerik control that text and image of menu item should be displayed only on click of some button. By Default , it should display only image.

 

Please find attached the menu required.

 

Thanks

Veselin Tsvetanov
Telerik team
 answered on 07 Jun 2016
2 answers
112 views

Can someone show me an example of how to insert/update a photo that resides in the database with this control using a SqlDataSource?

 

Thank you in advance!

Michael

Veselin Tsvetanov
Telerik team
 answered on 07 Jun 2016
1 answer
535 views
How do I go to the last row of the RadGrid? the line must be visible and selected. I did so but it does not work (Prerender event):
                int c = rdg.Items.Count;
                GridDataItem item = rdg.Items[c - 1];

                rdg.ClientSettings.Scrolling.AllowScroll = true;
                item.Font.Bold = true;
                item.Selected = true;
                item.Display = true;
                item.Visible = true;
Eyup
Telerik team
 answered on 07 Jun 2016
1 answer
177 views

We had the following problems when a RadDropDownList has properties set to:

<telerik:RadComboBox  runat="server" ID="cmbStation" Width="100%" AutoPostBack="true" CausesValidation="false" EmptyMessage="Choose one" MarkFirstMatch="true" DataSource='<%# Stations %>' />

 

Once we clicked "clear" the content of the RadComboBox with the "X" button in IE or clear manually, no postback was raised from the control.

Instead have a "telerik" way, we just set the client event "OnClientDropDownClosing" the following javascript fonction:

function CheckIfCleared(sender, eventArgs) {
    if (sender._value == "" && sender._filterText == "") {
        sender.clearSelection();
        sender._applyEmptyMessage();
        __doPostBack(sender._uniqueId, 'SelectedIndexChanged');
    }
    return true;
}

Is there a "Telerik" way, for current or next release, embedded in this control to do it ?
Nencho
Telerik team
 answered on 07 Jun 2016
5 answers
373 views
Hi,

I have a PivotGrid, which has the following layout:

<telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" AllowFiltering="false" RowGroupsDefaultExpanded="false"  RowTableLayout="Compact"
    ShowColumnHeaderZone="false" ShowDataHeaderZone="false" ShowFilterHeaderZone="false" ShowRowHeaderZone="false"
    OnNeedDataSource="RadPivotGrid1_NeedDataSource" OnCellDataBound="RadPivotGrid1_CellDataBound">
    <ClientSettings EnableFieldsDragDrop="false">
        <Scrolling AllowVerticalScroll="false"></Scrolling>
    </ClientSettings>
    <TotalsSettings RowsSubTotalsPosition="Last" ColumnsSubTotalsPosition="None" />
    <Fields>
        <telerik:PivotGridRowField DataField="Customer" ZoneIndex="0">
        </telerik:PivotGridRowField>
        <telerik:PivotGridRowField DataField="Contract" ZoneIndex="1">
        </telerik:PivotGridRowField>
        <telerik:PivotGridColumnField DataField="Quater">
        </telerik:PivotGridColumnField>
        <telerik:PivotGridColumnField DataField="SalesTax">
        </telerik:PivotGridColumnField>
        <telerik:PivotGridAggregateField DataField="Amount" Aggregate="Sum">
        </telerik:PivotGridAggregateField>
        <telerik:PivotGridAggregateField DataField="Changed" Aggregate="Sum" IsHidden="true">
        </telerik:PivotGridAggregateField>
    </Fields>
</telerik:RadPivotGrid>

The AggregateField "Amount" is type of decimal and "Changed" is type of bool. 

My aim is to format the Field "Amount" with an ending "*" or a special color, if the Field "Changed" is true. How could I achieve this?


Thanks,
Jan-Bernd
Angel Petrov
Telerik team
 answered on 07 Jun 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?