Contents tagged with .Net
-
Internet Explorer 8 developer tools debugging on Windows XP
Although , Microsoft officially not going support Windows XP but still many healthcare companies preferred to use windows XP internally. They buy windows 7 laptop and convert to Windows XP.This sounds funny but it true.
-
ReportViewer configuration
Some of my team member was facing configuring report viewer.Most of the post are confusing or not able to understand properly.
This is what we concluded and thought to put a quick note on it.
No 1 Section : This is the report name
No 2 Section : ReportServer make the default name on URL sometime even if you don’t see on browser you still need to try with “Reportserver” on url. In our case the DB/report team did not mentioned nothing about “ReprtServer” on URL but it was needed.
No 3. “Adventure Works” is the folder path name.This required as full path. Don’t confuse with browser URL path. Look for actual server path. Browser show something like this “Report/page” blah blah..But this is not the right URL.
No 4: Credential are configured on server and you should able to see report without any login prompt even if you gave “MyReportViewer.ShowCredentialPrompts = false” option. this also need to inherits from IReportServerCredentials and pass the user id and password using NetworkCredential . -
Javascript : Modifying parent element from child block the web site to display
Well recently i was working with Dotnetnuke and we are using lots of JavaScript around this project. Internally, dotnetnuke use lot of asp.net user control which lead to have a situation where child element accessing/modifying data of parent.
-
Easy way to write WHERE IN clause in Linq
I found many links to write IN clause in Linq but following is the simplest way achieve this
-
Converting SQL To Linq
After working so long on I SQL ,you always need little trick to write you Linq Quires.Here is few tools which might help to generate your linq quries.
-
101 LINQ Samples
Awesome list of LINQ sample
-
KeyMaps for ReSharper 5.1
ReSharper is very nice tool and I am still learning the shortcuts.I thought to install kepmay plugin for ReSharper and try my luck.Well the batch file installed it under 5.0 but failed to copy other directories.So I manually copied but still no hope.
-
Double click on Visual Studio short cut
Well, for some unfortunate reason double click to visual studio 2010 shortcut does guarantee it will work all time.I had this situation n-no of time before and today.I wish I would know why and this can be reproduce easily on any windows 7 enterprise OS.
-
Delete bin and obj folder from projects directories
You always have problem to debug when you do latest from source control.You might end up deleting bin/obj folder sometime.Here is nice bat file which delete bin/obj folder(s).
1. copy this on notepad and save it as clean.bat file
2. Keep this file on root directory
3. Double check the directory on "DIR /B /AD /S obj" and "DIR /B /AD /S bin"
---------------------------------------------------------------------------------------------- -
Deselect first row on gridview onload
I had situation to deselect the first gridview row on load and came to know IsSynchronizedWithCurrentItem on Gridview should able to that but some how i missed on gridview.