1
Answer

Passing complex object from codebehind (.aspx.cs)

Photo of Gopinath

Gopinath

8y
223
1
 

Hi,

I am calling a controller action from codebehind of aspx page by action Url with querystring. I serialized the object before adding into the action URL querystring. The value of complex object returns null on action call in runtime.

 

framePdf.Src ="http://localhost:56336/Home/Test?pdfData=" + jsonString;

 
 
can you help me what is the proper way of passing a complex type object to controller action
Regards
Gopi 

Answers (1)

0
Photo of Khan Abrar Ahmed
NA 5.8k 200k 10y
Hi refer this,
http://www.c-sharpcorner.com/uploadfile/dpatra/grouping-in-datagrid-in-wpf/
http://www.codeproject.com/Articles/437237/WPF-Grid-Column-and-Row-Hiding