View Complete Post
Note: This could be a bug or considered as suggestion. I am not looking for solution.
1: I have ImageWatermark.cshtml open and currently in focus.
2: I have Photo1.jpg selected in left Files workspace.
3: Now if I Click "Run", instead of opening ImageWatermark.cshtml it trys to open Photo1.jpg and it fails.
So ideally I would expect the "open file (ImageWatermark.cshtml) to run rather than running the selection from Workspace.
Please suggest what is the best approach of coding for RSS implementation,
a) Add custom handler in web.config for .rss type
b) Create a handler class (RSSHandler.cs) in APP_Code
c) Create a Sample.rss file
d) Browse Sample.rss in browser
Please help me, i have a properly working codes that is capable of the following:
1. Printing of Reports from ReportViewer without using the build-in print ICON in the actual ReportViewer. to view the working for the printing alone please click here.
2. Batch Printing by making a loop and placing a checkbox on the gridview where the needed paramerter (DataKeyNames ID) is retrieved then pass to the ReportViewer
This is my Code
foreach (GridViewRow row in GridView1.Rows)
CheckBox chk = (CheckBox)row.FindControl("CheckBox2");
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://TestServer/ReportServer");
ReportViewer1.ServerReport.ReportPath = @"/Tavern/StudPaymentReport";
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportParameter rptParams = new ReportParameter;
rptParams = new ReportParameter("ClientID", GridView1.DataKeys[row.RowIndex].Value.ToString());
There can be many reasons to reroute incoming Web requests. For instance, sometimes it's necessary to redirect a browser to a page based on user criteria without passing long lists of parameters in the URL. In the past, the only way to intercept such page requests and send them elsewhere was with ISAPI. Now, in ASP.NET, the IHttpModule interface provides notification of server requests, and lets you easily reroute them based on criteria other than browser type or version. Here the author demonstrates the use of IHttpModule for interception and explains the use of ISAPI filters for anyone who isn't yet using ASP.NET.
MSDN Magazine August 2002
I am making use of SharePoint List Batch Updating methodology in order to update the items in bulk. I build the query dynamically for each and every item using StringBuilder and process the data ultimately using 'ProcessBatchData' Method.
Now, I have a requirement where I have to increment a particular field value in the query while iterating through each item for building the query. How can I auto-increment a field value for each item in the batch query?
I really like the added options to Deploy, Package, and Retract Solutions added to the context menu of your solution.ÃÂ These all seemed to work really well.ÃÂ I was able to create a quick Hello World web part and deploy it.ÃÂ I activated it manually and was able to view it immediately.ÃÂ One thing, I am very appreciative of is the ability to choose between a Full Trust or Partial Trust web part when you create the project.ÃÂ You still have to specify the Code Access Security settings yourself, but at least it is possible now.ÃÂ I am also a fan of the new options to quickÃÂ deploy directly to the bin folder and 12 hive.
As a SharePoint developer, I put a lot of files into solution packages.ÃÂ Pages, XML files, Master Pages, Site Template Definitions, you name it.ÃÂ ÃÂ ÃÂ I want to be able to put these files in my wsp.ÃÂ I as