|
NewsGroup Posts for microsoft.public.dotnet.framework.aspnet
0 1 2 3 4 >> >|
|
Re: HTTP module
Thank you for your answer. Do you know what is the right format of registering the module in machine.config file? It's different than in web.config because if I put the following code into machine.config, I get an error: <httpModules> <add name="testModul" type="testModule.checkModul,
pubDate:
Sun, 14 Mar 2010 07:33:32 UT
|
|
pubDate:
Sun, 14 Mar 2010 07:33:32 UT
|
|
Re: HTTP module
I believe you put it in the GAC then register it in machine.config. [link] HTH
pubDate:
Sun, 14 Mar 2010 07:21:29 UT
|
|
commandfield question
I have a gridview that has a commandfield in it at the start of each row. Here is the commandfield. <asp:CommandField SelectText="Detail" ShowSelectButton="true" ButtonType="Link" /> I need to open a webform in another window from this and pass a parameter of the ID for the record in the selected row. Preference would be to have this
pubDate:
Sun, 14 Mar 2010 05:24:01 UT
|
|
Re: Get GridView RowIndex
Maybe, it's due to the Listview has item events and the gridview has row events that you can get away with it on a Listview what you did. I don't know. I forgot what I was doing when the expert sat down with me doing a hidden field thing on an item within the ItemTemplete to get some other information I needed, but I could not get to it by any other means using
pubDate:
Sat, 13 Mar 2010 22:20:24 UT
|
|
HTTP module
Hi, I created one http module. If I put my module(testModule.dll) into bin folder of my application and I put this into config file: <httpModules> <add name="testModul" type="testModule.checkModul, testModule" /> </httpModules> my module works. Now I would like that this module executes for all
pubDate:
Sat, 13 Mar 2010 20:48:47 UT
|
|
Re: Create csv
As Alexey says, instead of writing your CSV to the response stream, you can just save the text to a file. Use the System.IO namespace, you can just use File.WriteAllText(<filename>, <data>) You could get the data using LINQ to SQL and just format it on the fly. That's probably the route I'd take.
pubDate:
Sat, 13 Mar 2010 20:03:39 UT
|
|
Re: Listing the contents of a network directory - user permissions
You should use userName and password attributes only when you need to impersonate the token with a specific identity. In order to get the token impersonated by the current user you should use <identity impersonate="true" /> and <authentication mode="Windows" />. See the matrix that illustrate the resultant identity
pubDate:
Sat, 13 Mar 2010 20:02:41 UT
|
|
Re: Get GridView RowIndex
I am really struggling with this. In my original post I showed how I am doing this in a ListView and it has been working perfectly. I am confused as to why the GridView control cannot do the exact same thing. The ListView is inside an UpdatePanel as is the GridView. The ListView checkbox has
pubDate:
Sat, 13 Mar 2010 20:01:01 UT
|
|
Re: Create csv
So, then instead of my example with Response, you should create a text file and save it in the directory. Let me know if you need an example.
pubDate:
Sat, 13 Mar 2010 19:55:54 UT
|
|
|
0 1 2 3 4 >> >|
|