Telerik Forums
Community Forums Forum
1 answer
112 views
Hello Telerik Team,
    I have a RadGrid with RadComboBox as GridTemplateColumn.Its property autopostback is true.When working onselectedindexchanged property of RadComboBox, how can we avoid its postback ?

The code is like as follows.


<

 

telerik:GridTemplateColumn HeaderText="QTY" SortExpression="quantity" >

 

 

<ItemTemplate>

 

 

<label><%#Eval("quantity")%></label></ItemTemplate>

 

 

<EditItemTemplate>

 

 

<telerik:RadNumericTextBox ID="rntUQuantity" runat="server" NumberFormat-KeepNotRoundedValue="true"

 

 

Width="65%" Value='<%#Convert.ToDouble(Eval("UQuantity")) %>'>

 

 

<NumberFormat GroupSeparator="," DecimalDigits="3"></NumberFormat>

 

 

</telerik:RadNumericTextBox>

 

 

<telerik:RadComboBox ID="rUM" DataTextField="UM" DataValueField="UMID"

 

 

runat="server" AutoPostBack="true"

 

 

Width="35%" DataSource='<%#UOM%>'

 

 

onselectedindexchanged="rUM_SelectedIndexChanged">

 

 

</telerik:RadComboBox>

 

 

<asp:HiddenField ID="hdUOM" Value='<%#Eval("UMID")%>' runat="server" />

 

 

</EditItemTemplate>

 

 

<HeaderStyle Width="13%" Wrap="false" HorizontalAlign="Right" />

 

 

<ItemStyle Width="13%" Wrap="false" HorizontalAlign="Right" />

 

 

</telerik:GridTemplateColumn>

 


Waiting for the reply
        
Pavlina
Telerik team
 answered on 23 Nov 2010
1 answer
113 views
i have two radgrids(asp.net) and my requiremnet is on selection of pagination and changing page size on grid one, the second grid should respond..


here is my code
it is working with secon grid but not with first grid....plz help me out

 

 

protected void radgv1_PageIndexChanged(object source, GridPageChangedEventArgs e)

 

{

 

 

try

 

{

Session[

 

"First"] = radgv1.CurrentPageIndex;

 

 

 

if (Session["Second"] != null)

 

{

Session.Remove(

 

"Second");

 

radgv1.CurrentPageIndex = e.NewPageIndex;

radgv1.Rebind();

}

 

 

else

 

{

radgv2_PageIndexChanged(source, e);

}

}

 

 

catch (Exception ex)

 

{

}

}

 

 

protected void radgv2_PageIndexChanged(object source, GridPageChangedEventArgs e)

 

{

 

 

try

 

{

Session[

 

"Second"] = radgv2.CurrentPageIndex;

 

 

 

if (Session["First"] != null)

 

{

Session.Remove(

 

"First");

 

radgv2.CurrentPageIndex = e.NewPageIndex;

radgv2.Rebind();

}

 

 

else

 

{

radgv1_PageIndexChanged(source, e);

}

}

 

 

catch (Exception ex)

 

{

}

}

Tsvetina
Telerik team
 answered on 18 Nov 2010
1 answer
120 views
on my form i have some text boxes and their required field validators
my problem is:
for the first time on tab out with out entering any value in the text box the event is not firing(required field validator)
but whent i entered some text and then deleting the text in the text box and then when i tab out then it is firing(required field validator)
 .....
what might be the problem for this...
plz help me in this regard...
Prangadj
Top achievements
Rank 1
 answered on 16 Nov 2010
0 answers
106 views
We are looking for a freelance Silverlight developer to assist a small team with the UI design and workflow for a business application:

Experience in the following:
RadControls for Silverlight
Silverlight 4
Prism 2.2
Csla 4 an advantage

Please contact peran.borkett@stptrade.com for more information.




Peran
Top achievements
Rank 1
 asked on 15 Nov 2010
4 answers
141 views
hi,
when i select a row on radgrid which is splitted into more than one line it is showing only the first line as selected(with different color)
how to select all the lines on radgrid row?
srikanth
Top achievements
Rank 1
 answered on 15 Nov 2010
1 answer
121 views
Hello All,
    I would like to use a reporting tool that supports Visual Studio-2008, 2010(WPF). We are in the process of updating our application from older to latest version which involves changin platforms too (java to .net).

a. Which version of the reporting would suit the best? Conditions are as follows:-

  1. Moving from one platform to other(Migration), on doing this the new application is in the .net platform, this should work exactly like the older application. This application would have the new graph tool.
  2. Now the latest migrated application from java to .net is further moved to latest technology of WPF and WCF.
  3. The reporting tool should support both windows and web application.
  4. Does RadControls only support WPF or is it additionally needed to be purchased for WPF apart from the original reporting tool package.
  • b. Can RadControl supports windows, web in 2008 and silverlight and WCF?


    Regards,
    Saravanan.R
  • Steve
    Telerik team
     answered on 12 Nov 2010
    1 answer
    626 views
    Hello Telerik Team,
            Is there any way to refresh a radgrid without page postback?Please give me the reply.

    Thanks
    Dayana
    Prangadj
    Top achievements
    Rank 1
     answered on 12 Nov 2010
    1 answer
    165 views
    Hi,

    I am working in SharePoint 2010 environment. I am using Telerik RadGrid and i have implemented RadGrid drag/drop column to reorder the rows in the grid, when drag/drop event starts i get the following error.

     

    Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
    Details: Error parsing near '
    <!DOCTYPE html PUB'.
    Line: 5
    Char: 62099
    Code:0

    I have RadGrid inside the asp:updatepanel.



    Kiara
    Top achievements
    Rank 1
     answered on 12 Nov 2010
    1 answer
    101 views
    Hi Team,

    I am customizing SingleThread.ascx for my purpose, In order for me to show comments for thread's posts I need to get post's IDs for a thread.
    Let say there can be no of replies(post) for a thread and no of comments for a post.

    I am going to have another child repeater(SingleThread.ascx) to show comments for the posts.

    I want to know is there any out of the box features provided to find the postId. like in the following
    // <asp:Literal ID="postContent" runat="server"></asp:Literal>

    Regards.
    Vimal
    Ivan Dimitrov
    Telerik team
     answered on 11 Nov 2010
    2 answers
    115 views
    Are we going to see a Beta 2 of the ASP.NET AJAX products or is it going straight from the current beta to release?

    -- 
    Stuart
    Stuart Hemming
    Top achievements
    Rank 2
     answered on 10 Nov 2010
    Narrow your results
    Selected tags
    Tags
    +? more
    Top users last month
    Rob
    Top achievements
    Rank 3
    Bronze
    Iron
    Iron
    Sergii
    Top achievements
    Rank 1
    Iron
    Iron
    Dedalus
    Top achievements
    Rank 1
    Iron
    Iron
    Lan
    Top achievements
    Rank 1
    Iron
    Doug
    Top achievements
    Rank 1
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Rob
    Top achievements
    Rank 3
    Bronze
    Iron
    Iron
    Sergii
    Top achievements
    Rank 1
    Iron
    Iron
    Dedalus
    Top achievements
    Rank 1
    Iron
    Iron
    Lan
    Top achievements
    Rank 1
    Iron
    Doug
    Top achievements
    Rank 1
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?