Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
44 views
hi guys

i 'm facing problem in grid .
i have one column called name that contain like
'*Security: Authentication policy change'
but when i searching starts with   * ,it display all record

please help me.
Tsvetoslav
Telerik team
 answered on 24 Nov 2010
3 answers
48 views

Hello,
I have one ajaxified radgrid which is getting ajaxified through RadAjaxManager.Outside the grid I have two asp buttons.On pageload I am adding ajaxsettings for those buttons.On grid inline edit I am trying to disable those buttons.Those buttons are getting disabled.But I am getting null object exception on clicking the button.If I remove the ajaxsettings from pageload everything works fine but the buttons are not getting disabled.Please suggest me at your earliest...Below are the code in page_load.



 

protected void Page_Load(object sender, EventArgs e)

 

{

 

  RadAjaxMgriPur.AjaxSettings.AddAjaxSetting(RGridImportedData, btnCreateOrder,

null);

 

 

 

  RadAjaxMgriPur.AjaxSettings.AddAjaxSetting(btnCreateOrder, RGridImportedData, RadAjaxLoadingPaneliPur);

 

}


 

 

protected void btnCreateOrder_Click(object sender, EventArgs e)

 

{
     //some operations....
   

 

RGridImportedData.Rebind();

 

}

Thanks in advance.

Manaswinee

Radoslav
Telerik team
 answered on 24 Nov 2010
1 answer
67 views
Hi,

I am using a microsoft ajax tab container to display the tabs. I have six tabs inside that container. In each tab, I have a radgrid. The columns for the radgrid are built dynamically. I am loading the data for all the grids during page load. I have a javascript function to adjust the grid height and width. I included this javascript function in the gridcreated event. So, when the tab loads the grid is firing that javascript. But I am not able to get the mastertableview height. The height is returned as zero. I tried using the page_init event to load the grids but it still has the same problem (the height is returned as zero). Is there something that I am missing?

function AutoSize(sender, args)
{
       var dataHeight = sender.get_masterTableView().get_element().clientHeight;
}
Radoslav
Telerik team
 answered on 24 Nov 2010
1 answer
75 views
I'm working on a website that will eventually be deployed to a production Azure server. On one page I'm using a repeater that binding a record that contains an image stored in a varbinary field. I located an article that provides an example on how to use the RadBinaryImage control iin a repeater:

http://www.telerik.com/help/aspnet-ajax/radbinaryimage.html

At the bottom of the page it states "RadBinaryImage doesn't work in WebFarm / WebGarden scenarios". Does this mean I can't use the RadBinaryImage control on an Azure hosted website?
Veli
Telerik team
 answered on 24 Nov 2010
1 answer
68 views
Hi,


I have a webserive who returns two fileds INCOME & EXPENDITURE as output.

I am trying to plot line chart programitically on page load, which has 2 series (ChartSeriesType.Line), & wanted to bind the output of webservice to both the  series.

series1--->INCOME
series2--->EXPENDITURE

Note: Both series are Line type.
I am able to bind with bar chart but not able to  bind with LINE graph dynamically.

In the Telerik example, they are binding the with hardcoded data.


Thanks in advance,

 
Vladimir Milev
Telerik team
 answered on 24 Nov 2010
3 answers
69 views
Hi. Would anybody know why I am getting an error when I try to access the property builder for a RadGrid. It did work fine but doesn't work now. I have deleted the old page and tried to start from scratch with a new form (based on a master page). I create the new form, add the RadGrid, use the smart tag to create an sqldatasource and then click "open property builder". I get the visual studio error:

"Error invoking 'Open Property Builder'. Details:
Exception has been thrown by the target of an invocation."
Martin
Telerik team
 answered on 24 Nov 2010
1 answer
79 views
In a user control that contains a RadGrid, I am trying to get the header text for the column that is being sorted on. I am doing this in the prerender of the control so all the databinding should have happened already. For some reason the column does not give me the correct text. For some columns the text is changed in the needdatasource event but that should happen before my routine is called. Here is the code. Is there a better way to do this?

private void Set508SortMessage()
{
    if (RadGrid1.MasterTableView.SortExpressions.Count > 0)
    {
        ATSortPane.Visible = AccessibilityMode;
        String msg = GetString("ActionWorklist.SortCriteria.DisplayText.Text");
        String sort = "";
        bool firstTime = true;
        foreach (GridSortExpression gse in RadGrid1.MasterTableView.SortExpressions)
        {
            if (!firstTime)
            {
                sort = sort + ",";
            }
            Common.Framework.SortDirection sd = GetSortDirection(gse.SortOrder);
            sort = string.Format("{0}{1} {2}", sort, RadGrid1.MasterTableView.Columns.FindByDataField(gse.FieldName).HeaderText, sd);
            firstTime = false;
        }
        lbl508Sort.Text = String.Format(msg, sort);
    }
    else
    {
        ATSortPane.Visible = false;
    }
}
Tsvetoslav
Telerik team
 answered on 24 Nov 2010
1 answer
160 views
I have several multiselect comboboxes, the entries are populated from a datasource.  Each entry has a checkbox.  I do an autopostback.  I know how to get the selected item if it's a single select, but what do I do for a multiselect?  Thanks.
Shinu
Top achievements
Rank 2
 answered on 24 Nov 2010
2 answers
70 views
Hi,
I used rad rotator for rotating the latest 10 images from a folder by retrieving their names from database.
This is working but image borders are rotating i.e., images are not displaying in the rotator

here is my aspx code
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="120px" Width="680px">
<telerik:RadRotator ID="RadRotator1" runat="server" Height="120px" Width="680px" ScrollDuration="500"
ScrollDirection="Right" FrameDuration="1500" ItemWidth="120px" ItemHeight="100px" RotatorType="AutomaticAdvance"
DataSourceID="SqlDataSource1">
<ItemTemplate>
<asp:Image ID="image1" runat="server" CssClass="image" ImageAlign="left" Visible="true"
ImageUrl='<%# String.Format("~/images/movies/{0}", DataBinder.Eval(Container.DataItem, "imagename")) %>' />
</ItemTemplate>
  </telerik:RadRotator>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:cinema mistakesConnectionString %>"
SelectCommand="SELECT TOP 10 [imagename] FROM [movie] ORDER BY [mid] DESC"></asp:SqlDataSource>
                        </telerik:RadAjaxPanel>

pls get me out of this
saratchand
Top achievements
Rank 2
 answered on 24 Nov 2010
1 answer
67 views
I am trying to incorporate the following function into the 'Delete' functionality of the RadGridView:

Protected

 

Sub RadGridApprovers_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGridApprovers.ItemCommand

 

 

If e.CommandName = "Delete" Then

 

 

 

    'do something
End
If

 

 


End
Sub


My question is: does the delete happen first or whatever commands I includein this function?

thank you

 

Shinu
Top achievements
Rank 2
 answered on 24 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?