Gopinath

Gopinath

  • NA
  • 14
  • 9.1k

Passing complex object from codebehind (.aspx.cs)

Dec 2 2016 3:47 AM
 

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)