i need ti render a view based on a id i am using html helper class for this

Posted by kallamjreddy-17301 under HTML 5 on 10/15/2012 | Points: 10 | Views : 1335 | Status : [Member] | Replies : 0
public static void RenderPartial(this HtmlHelper helper,int storeid)
MenuFinalEntity MenuTypeObj = new MenuFinalEntity();
var query = from c in MenuTypeObj.SiteMenus where c.StoreId == storeid select (int?)c.MenuTypeId;
int? menuid = query.SingleOrDefault();
var name = from b in MenuTypeObj.MenuTypes where b.MenuTypeId == menuid select b.MenuType1;
string Mname = name.SingleOrDefault();
This is the helper class i am using and i dont know what parameters to be passed into it while using this method

my code in my view looks like


inside the renderpartial menthod what are the parameters that i should pass??

what is (this HtmlHelper helper) in my code....................

Please to help me... i am struggling


(No response found.)

Login to post response