This is a migrated thread and some comments may be shown as answers.

[Solved] How to call server side function while manipulating the client template for grid item

0 Answers 8 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nandha
Top achievements
Rank 1
Nandha asked on 28 Dec 2012, 08:06 AM
Hi,

I need to call a server side function to encrypt the query string while manipulating the hyperlink(client template) for a grid.

I need to pass the column values as parameter to the function.

Since the column values are getting rendered in the client side on grid data bound, im not able to pass the values to the function. 

How do i acheive this (or) How to render server tags on the fly.

here the code 


ClientTemplate = @"<a href='" + Url.Action("Edit", "FacilityGroup") + "?" + GenericHelper.EncryptDecryptQueryString(\"Id=<#=Id#>&GroupId=<#=Id#>\") + "<#=" + linkName + "#></a>";


Any help is deeply appreciated. Thanks in advance
Tags
General Discussions
Asked by
Nandha
Top achievements
Rank 1
Share this question
or