Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
224 views
We are using RadMenu with some content that is static and some content that comes from the database and we have AppendDataBoundItems set to "true".    We also allow users to save custom reports and put the report on the menu. We are able to refresh the dataset we bind to the radmenu but is there a way to refresh the radmenu without a post back?

Thanks,
Larry
Yana
Telerik team
 answered on 27 Jul 2009
1 answer
117 views
Hi,

I have a scenario where I need to share my appointments with other users, by email. To do that I have created a textbox and a asp:Button in my advanced Template. I would like the button to make a normal Ajax postback to let me do something in my servercode, and then show the editwindow again.

It seems that my button has been blocked, so that it cannot make the postback. When I click it nothing happens.
I have a simple serverside onclick on the button.

What can I do to create this effect?

Regards
Rune
Rune
Top achievements
Rank 2
 answered on 27 Jul 2009
2 answers
97 views
Hi, Is there any way to to switch off page  url display on radwindow???                                                                                                           
Svetlina Anati
Telerik team
 answered on 27 Jul 2009
3 answers
178 views

Hi,

I am facing the following scenario using client-side data binding:

1) User "A" gets a list of items and first page is displayed.
2) User "A" clicks next page and navigates to page 2 without any issues.
3) User "B" on another workstation adds a new item.
4) User "A" clicks next page to

<telerik:RadGrid     
    ID="RadGrid"    
    runat="server"    
    AllowPaging="true"    
    PageSize="25"    
    Width="100%"    
    Height="100%"    
    style="border:0px;outline:none"    
    >    
    <MasterTableView TableLayout="Auto" ClientDataKeyNames="Id, Icon, IsPrivate">     
        <Columns>    
            <telerik:GridBoundColumn DataField="Icon" HeaderText="" HtmlEncode="false" HeaderStyle-Width="26px"></telerik:GridBoundColumn>    
            <telerik:GridBoundColumn DataField="Name" HeaderText="Item" HtmlEncode="false" HeaderStyle-Width="100%"></telerik:GridBoundColumn>    
        </Columns>    
    </MasterTableView>    
    <ClientSettings EnableRowHoverStyle="true">     
        <Selecting AllowRowSelect="true" />    
        <Scrolling AllowScroll="true" UseStaticHeaders="true" />    
        <DataBinding Location="Grid.aspx" SelectMethod="Search" FilterParameterType="String" SortParameterType="String" ></DataBinding>     
        <ClientEvents OnDataBinding="RadGrid_DataBinding" OnRowClick="RadGrid_RowClick" OnRowDblClick="RadGrid_RowDblClick" OnDataBound="RadGrid_DataBound" />    
    </ClientSettings>    
    <PagerStyle Mode="Slider" />    
</telerik:RadGrid>    
 

navigate to page 3, but the grid is reset to page 1.

 

I was able to pinpoint this to the fact that "count" changed. I can somehow understand a reason behind this, but in a multiuser environment this becomes really annoying for users.

Also, I noticed that the SelectMethod get called 3 times, one for page 3 and two times for page 0.

 

Is there a way to prevent this behavior.

 

Thanks.


Iana Tsolova
Telerik team
 answered on 27 Jul 2009
1 answer
329 views
Hi,

    I have a problem with hiding of a column which is added at run time. Actually i will be using DataTable as the datasource to the RadGrid. So now I wan to make few columns in the datatable invisible. After when i have given the datatable as datasource to the grid  when i have seen the column count of radgrid it is showing nothing. So i am unable to make a column invisible.
I had use concept of Datatable because all my columns will be retrieved from Database based on user creation.So the column names or column count will be dynamic.

Could you please help me out on this.


Thanks & Regards,
Satya.
Pavlina
Telerik team
 answered on 27 Jul 2009
1 answer
81 views
Hi

Currently Telerik grid supports Filtering based on conditions(Equal,not equal etc).
If i have 2 columns in a grid and if i apply conditions on both the columns.
The result condition would be like  ( Column 1 condition ) AND (Column 2 condition).

We have a requirement where the user can specify multiple conditions on Columns and it could be either And, OR or combination on both.

IS there a way we can achieve this.Appreciate your help..


Regards
Vikram
Pavlina
Telerik team
 answered on 27 Jul 2009
1 answer
186 views
I am using a RadComboBox to display the list that is fetched using web service based on whatever text has been entered.

I want to put a validation on the text that it should allow only letters, numbers, spaces, hyphen or apostrophe.

The regular expression I am using is

var regex = new RegExp("[^a-zA-Z0-9\s`,-]+");

But the problem is that when I enter apostrophe and read the text of the combo box using get_text(), I get %60 instead of ` (hexadecimal representation of apostrophe).

Why is this happening? Is there any other function that I can use to get the exact text (in ASCII characters) that has been entered.
Abhay Jain
Top achievements
Rank 1
 answered on 27 Jul 2009
3 answers
134 views
I'm having a strange problem with the z-indexes on either the tooltip or the raddock. something is causing the dock to be on top of the tooltip instead of the opposite.

Can anyone clarify the hierarchy of how z-indexes are set for the tooltips? Does the script (tooltip.js?) override the skin, or the style? I would think that setting the style="z-index: 10000" at the tooltip level would override everything, but that doesnt seem to be the case.

Thanks in advance.

Svetlina Anati
Telerik team
 answered on 27 Jul 2009
1 answer
125 views
Hello.
        I am  using a RadToolTipManager for displaying the full size image of thumb nail image in my form.It is not working when I am loading the image from the database using a binary image control.But it is working perfectly when I am loading image from a folder.
The web service  code I have used  is given below
 public string GetFullSizeImage(object context)
    {
        cApplicationSettings oAppSettings = new cApplicationSettings();  
        Telerik.Web.UI.RadBinaryImage img = new RadBinaryImage();   
        img.DataValue = (byte[])oAppSettings.GetDefaultPhoto(1).Rows[0][0];//This function will return the image from my table

        StringWriter sw = new StringWriter();
        HtmlTextWriter writer = new HtmlTextWriter(sw);     
        img.RenderControl(writer);
        writer.Flush();
        return sw.ToString();                 
    }
When I replace the DataValue field of the binary image with ImageUrl as below it is working without any problem.
  img.ImageUrl = "~/images/noimage.png";
Svetlina Anati
Telerik team
 answered on 27 Jul 2009
1 answer
85 views
hi telerik

when i am working on telerik rad controls in my project,
and after try to change some thing like datasource configuration or radgrid columns ,..  i get this error :

http://i29.tinypic.com/2ztdb4l.jpg

my changes will not be applied , but if i reload my page every things is ok.

do u have ideas?

tnx
Sebastian
Telerik team
 answered on 27 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?