Tuesday, April 27, 2010
cqwp listname listGuid
cqwp targetted to a specific list in a subsite will not work unitl we specify the listGuid.
Sunday, April 25, 2010
CQWP Mystery
if you are using cqwp with query override property, always set either commonviewfields or viewsfieldsoverride.
commonviewfields just requires the additional fields whereas viewfieldsoverride need the existing fields and the new fields.
commonviewfields just requires the additional fields whereas viewfieldsoverride need the existing fields and the new fields.
Monday, April 12, 2010
search server name mapping
you can replace the server name from the crawled results with a user defined value.
e.g. http://mysite.com can be mapped to http://test.com
hence all people results will get mapped,
Username -> http://mysite.com/person.aspx?name=username -> http://test.com/person.aspx
simply create / provision a page at the root of site collection http://test.com
e.g. http://mysite.com can be mapped to http://test.com
hence all people results will get mapped,
Username -> http://mysite.com/person.aspx?name=username -> http://test.com/person.aspx
simply create / provision a page at the root of site collection http://test.com
Sunday, April 11, 2010
MVP Pattern - SP Web Part
http://msdn.microsoft.com/en-us/library/ee413740.aspx
http://weblogs.asp.net/bsimser/archive/2006/07/18/Model_2D00_View_2D00_Presenter-Pattern-with-SharePoint-Web-Parts.aspx
http://weblogs.asp.net/bsimser/archive/2006/07/18/Model_2D00_View_2D00_Presenter-Pattern-with-SharePoint-Web-Parts.aspx
Thursday, April 1, 2010
dropdownlist postback selectedindex 0
asp.net dropdownlist should have unique value item, i.e.
ddl.items.add(new listitem(key, value)) -> here value should be unique
otherwise on postback you get incorrect selectedindex.
e.g.
ddl -> America, 1
Europe, 2
Asia, 3
is correct
but
ddl -> America 1
Europe 1
Asia 2
is not correct
ddl.items.add(new listitem(key, value)) -> here value should be unique
otherwise on postback you get incorrect selectedindex.
e.g.
ddl -> America, 1
Europe, 2
Asia, 3
is correct
but
ddl -> America 1
Europe 1
Asia 2
is not correct
Subscribe to:
Posts (Atom)