Hi mvc,
i am new to
asp.net mvc2 and i am working on
asp.net mvc2 areas.
when i have a static page in area it is showing result as expected.
the problem is when i am trying to call my details page like
http://wesitename/area/controller/detailsaction/parameter i am getting a problem with my styles(missing some styles)
i mean to say i am not getting the the result as expected(without styles.).
if try to call my href="../../area/controller/details?Length=<%parameter id%>" i am getting the result with full styles loaded and with out any problem. but the peoblem is here it is passing null parameter to my action method.
how i tested means i hard coded my logic like
ActionResult Details(int? id)
{
var result=_dataContext.tablename.where(a=>
a.id=2);
return View(result);
}
i dont know wat wrong with my code.
and i dont know why it is taking for above url contains length and y not for href without Length.
can anyone give me an idea wat i am doing wrong here.
or
if any complete example for areas with CRUD operations.
thanks in advance.