Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » HTML, Javascript, jQuery & AJAX » How to call server side function from javascript
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
How to call server side function from javascript [message #168493] Fri, 10 May 2013 04:52 Go to previous message
Jack Hard is currently offline  Jack Hard
Messages: 7
Registered: December 2012
Junior Member
add to buddy list
ignore all messages by this user

i am looking to set sorting on ASP Repeater. see my repeater code:

<asp:Repeater runat="server" ID="RptClientDetails">
<table id="example" class="dynamicTable table table-striped table-bordered table-primary">

<a href="#" onclick="ClientSort('ClientID')">Client ID</a>

<a href="#" onclick="ClientSort('Name')">Name</a>

<a href="#" onclick="ClientSort('TotalBalanceDue')">Total Balance Due</a>


here, i am calling javascript function. see my javascript function code:

function ClientSort(SortExpress) {

<%= Sorting(SortExpress) %>

from here i want to call my .net server side function.

public void Sorting(string SortExpression)
string s = SortExpression;


so, have you idea how can i call it? or directly from repeater i can call this server side function..Thanks
[Message index]
Read Message
Read Message
Read Message
Previous Topic: Which code block is using bubble sort?
Goto Forum:

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Aug 17 00:07:16 EDT 2022

Total time taken to generate the page: 0.00772 seconds