|
triple post?
daniero
|
|
|
|
|
yeah, but when I replied, he just double-post...
<< >>
|
|
|
|
|
|
|
I have two GridView questions...
First, I have a GridView with two template columns that contain textboxes. There is no Edit Template, just an item template. You select a row with the "SELECT" link and then type in information in two text boxes. Each text box has autopost back once you tab away from the textbox. The problem I have is the selection process. What I would like to do is select the row simply by clicking within the textbox of a particular row so that I don't have to select the row first THEN click on the textbox. Is this possible, and if so, how?
Second, I have a row in the GridView which contains an ID and this row is hidden. How do I access the information in this row in order to do a DB update?
Thanks again for the help.
Jason
|
|
|
|
|
Please Help me to find Way to send E-mail From localhost
Please With Detail
:-Dthanks
|
|
|
|
|
hi there,
i'm developing a licensing website with asp.net this side is related to vb6 client and server code. the clients code and the website work perfectly together - the client gives any information needed by the server to calculate the LicenseKey to the asp.net website. Now there comes the problem...
<br />
Dim oKernel As LicenserKernel.cKernel <br />
oKernel = New LicenserKernel.cKernel()<br />
<br />
sReleaseKey = oKernel.CalcKey(sRequestKey, sSessionID)<br />
When debugging the website the object (oKernel) is made properly, the function is recognized correctly (i can see this during debugging - it displays what parameters are needed and so on) but all i get back from the function is: "NOTHING"
When i debug the server code on his own (manually giving him all the parameters the client gave to the website), it works just fine...
Another problem is that with every postback a new window is opened. i don't want a hundred of windows to be opened. poor users! this should be easy to solve and i don't understand why i can't do this on my own...
Would be great if anyone could help me with that
Thanks a lot in advance and have a nice day,
SanDee
|
|
|
|
|
I would guess that this is a permissions thing. When you debug, your security context in the server process is that of your logged in user (behind the scenes NTLM authentication has taken place). However, if you remotely access the application from a VB6 app, then the security context will be that in which IIS runs, which is low privileged.
using System.Beer;
|
|
|
|
|
Hey, thanx for answering that quickly...
There's no problem to remotely access the ASP application from a vb6 app. The problem is located between the asp.net website and the serversided DLL...
btw. concerning my permissions: i'm in the groups of "administrator", "debugger", "developer" and "VS-Developers". This should be enough - i guess...
have a nice day!!!
|
|
|
|
|
Default security context for a web service call is Network Services (at least on Server 2003/IIS 6). You can explicitly set the credentials passed across before calling the service - from memory, i think it is something like myService.CredentialCache.
|
|
|
|
|
hi and thanx for answering...
unfortunately this is not the problem...
according to the msdn asp.net apps use the profiles of the user who is currently logged on or under whose profile the debugging is running...
so i go on searching for the solution...
enjoy your time...
|
|
|
|
|
Would it be worth running the server code in debug mode on it's own, fire up an instance of the VB6 app and check the current credentials that actually get passed. (Nothing against MSDN, of course, but sometimes...
|
|
|
|
|
... tried this, but everything is ok concerning those credentials...
thanks anyway
|
|
|
|
|
hi,
I accessed microsoft word 2003 on my webpage, using add reference,com library, in vb.net 2005 , I want to let my user to create word document on word 2003, while using my website. I want to save the name and contents of this word document into table of sql server.
Can any body help me ?
thanks
khurram
This is a very informative site
|
|
|
|
|
hi there,
use BLOBs (binary large objects )...
<< >>
|
|
|
|
|
Hi
How to get value from ddl who is into gridview control.The use technology is net.2.0 i don't know how to discrab it "into configuration data sorce control"???
pleas help me
|
|
|
|
|
Hi,
I am sorry for not giving the answer you expected. But, I'll try to give one as soon as i find out on the net.
Till then i can give you the hint where you can look for.
((DropDownList)GridViewAllCustomers.TemplateControl.FindControl("ddlControlName")).SelectedIndex;
just find of how u can get row from where the dropdownvalue is selected. Can you Iterate through gridview using foreach(gridviewrow gvr in gridviewcontrol1) ??
|
|
|
|
|
Hi
How to get value from ddl who is into gridview control.The use technology is net.2.0 i don't know how to discrab it "into configuration data sorce control"???
pleas help me
|
|
|
|
|
How to connect the pop3 mail server in asp.net
and how to retrieve the mails?
SR Ranjini
|
|
|
|
|
Hi there,
I do belive there r a lot of article on CP site. just do a quick search...
here is just one of them POP3
<< >>
|
|
|
|
|
Hi
In my application, i m using windows authentication. I want to restrict all the users of other group of a domain except one group. i.e (i have 3 groups in a domain namely admin, accounts, technical), i want to allow only admin group users to access my application thru windows authentiction and restrict all other group users in this domain.
How should i do that. Any code will be of great help to me
thanx
sandeep
|
|
|
|
|
I done this a few months ago and used this code.
I'm not sure if it is the most efficient but it works for me.
A couple of things to watch for;
remember to turn off anonymous authentication in iis and edit the web.config as in comments
string strUname = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();<br />
strUname = strUname.Substring(9,strUname.Length - 9);<br />
Boolean bIsAuthenticated = false;<br />
<br />
try<br />
{<br />
CustomClasses.Authenticate cAuthenticate = new Authenticate();<br />
StringCollection scGroups = (cAuthenticate.GetUserGroupMembership(strUname));<br />
foreach (string gp in scGroups)<br />
{<br />
if(gp.Substring(3,gp.Length - 3).ToUpper() == "DASHBOARD")<br />
bIsAuthenticated = true;<br />
else<br />
Session.Add("exception", "1");<br />
} <br />
}<br />
Hope this helps
Colin
|
|
|
|
|
Hi,
I have file of .ASPX extension from asp.net.I want to know, Is there any method to convert aspx file to asp file.
Similarly, Is it possible to convert asp file to aspx file .
Vijayendra Shinde.
|
|
|
|
|
Why do u need that?
"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshers
http://himabinduvejella.blogspot.com
|
|
|
|
|
if you want to go back to classical asp, just simply change the aspx extension to aspx
<< >>
|
|
|
|