|
Hi
if anyone has an Implementation of Challenge-Response for authentication in ASP.Net please send me to my email : mohammad_razavi_d@yahoo.com
Best regards
|
|
|
|
|
Have you tried the registration and login controls available in ASP.NET 2.0?
Dan
|
|
|
|
|
You right, no i dont use them yet
i don't even think about it
thanx
Life is good!
|
|
|
|
|
Should i use viewstate or session to get the data from a particular page.
|
|
|
|
|
You can see this[^].
Apurva Kaushal
|
|
|
|
|
Hi Apurva......
and what is serialiable data ?
|
|
|
|
|
Data which can be serialized.
Apurva Kaushal
|
|
|
|
|
Hi Apurva........
i actually wanted to know... the basic advantages of serialization.When i have databases then what's the great deal in utilizing the serialiation?
|
|
|
|
|
Hello
Serialization is the process of transmitting an object either in binary or in some human readable format like XML. .NET supports automatic serialization by marking the class as serialize. For making the concept more clear assume that you have a webservice which contains some serializable classes and it's objects. When you are sending that object to the client machine, it will be transmitted as binary or XML format and another object will be created on the client machine. Hope you are clear now.
Sonia Gupta wrote: When i have databases then what's the great deal in utilizing the serialiation?
I am not getting connection with databases and serialization ? What do you want to do with this ?
Happy Programming
|
|
|
|
|
hi
If we r working with in the page we can prefer viewstate , if we r working with two pages we can prefer session
Thank u
Ramamohan reddy
MV Rammohan Reddy
|
|
|
|
|
I use ViewState for data that is valid only for this page and as long as the user stays on this page.
And Session is used to store data that has to life longer than the interaction with the page (for example for data that has to be present when the user navigates back to the page to restore some kind of state).
Finally I reroute the ViewState to the Session because I don't want to send it to the client side.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
I have an object tag as below.
<object id="basket" name="basket" classid="http:/public/bin/RKSmartControls.dll#Reuters.Knowledge.SmartControls.DocumentDownload" height="0" width="0" VIEWASTEXT>
<param name="Protocol" value="<%= GetContextProtocol() %>" />
<param name="Domain" value="<%= GetContextDomain() %>" />
<param name="DocumentRetrievalURL" value="showDoc/Research.dox?docIDs=" />
<param name="AuthenticationToken" value="<%= Context.Request.Cookies[CookieNames.TICKET].Value %>" />
</object>
And from the javascript I am calling a method present in this dll as below
function SmartClientDownload(XmlString)
{
var err = "";
try {
alert("basket = " + document.all("basket"));
basket.Context= XmlString;
basket.Download();
}
catch(e){
err="There was an error on this page.\n";
err+="Error description: "+e.description+"\n";
alert(err);
}
}
Here I get an error Object doesn't support this property or method.
Sometimes it work sometimes it fails, Let me know if you have faced this issue.
Irsh
|
|
|
|
|
how can i run a page created using dreamweaver in asp.net?
|
|
|
|
|
Iam using check box inside a DataGrid column. How to check or uncheck the checkbox according to values in the column(Type: Bit) of a table when the DataGrid loads.
Thanks .............
|
|
|
|
|
You can use onItemDatabound event of the datagrid to write you code to handle the checkbox.
Apurva Kaushal
|
|
|
|
|
Hai friends,
i desingned a gridview and bounded the fields, i was taken a hyperlink field in that gridview.
now i want visible property of that hyperlinkfield at runtime.(i mean after form load).
is it possible
if ok please provide code for that.
Below is my code. i want to disable the estimate hyperlinkfield after form load.
eg:
<asp:gridview id="grdviewestimate" runat="server" autogeneratecolumns="False" pagesize="1"
="" cellpadding="4" datamember="DefaultView" forecolor="#333333" gridlines="None">
<columns>
<asp:templatefield headertext="Estimate Form">
<itemtemplate>
First Name:
| <asp:label id="lblname" runat="server" text="<%# Bind("firstname") %>" font-names="Verdana"
="" font-size="9pt">
| Last Name: | <asp:label id="lbllname" runat="server" text="<%# Bind("lastname") %>" font-names="Verdana"
="" font-size="9pt">
| Description:
| <asp:textbox id="ttdescription" runat="server" text="<%# bind("description") %>"
="" textmode="MultiLine" font-size="9pt" readonly="True" rows="5" width="178px">
|
<asp:hyperlinkfield datanavigateurlformatstring="~/Administrator/Invoice.aspx?id={0}"
="" text="Estimate" datanavigateurlfields="id">
<footerstyle backcolor="#5D7B9D" font-bold="True" forecolor="White">
<rowstyle backcolor="#F7F6F3" forecolor="#333333">
<editrowstyle backcolor="#999999">
<selectedrowstyle backcolor="#E2DED6" font-bold="True" forecolor="#333333">
<pagerstyle backcolor="#284775" forecolor="White" horizontalalign="Center">
<headerstyle backcolor="#5D7B9D" font-bold="True" forecolor="White">
<alternatingrowstyle backcolor="White" forecolor="#284775">
<asp:hyperlink id="hlink" runat="server" navigateurl="~/Administrator/invoice.aspx?id={0}" text="Estimate form">
<asp:sqldatasource id="dsviewestimate" runat="server" connectionstring="<%$ ConnectionStrings:LEConnectionString %>"
="" selectcommand="SELECT * FROM [u_le_estimateform]">
|
|
|
|
|
You can write the code for that in OnRowDataBound event of the gridview.
Apurva Kaushal
|
|
|
|
|
Thanks for giving answer.
|
|
|
|
|
Hi friends does anyone know whether there is an alternative for Tables FixedHeader=true when using a matrix???
I am using a matrix in a reportviewer to display some data!
I want to make the header to be visible even when scrolling down!
In a table its possible with fixedheader! wat about matrix?
Is it possible??
Any suggestions on this!!
Thanks a lot!!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi,
I have a page with some textboxes ,buttons and FileUpload.
all is well. but when the user update the FileUpload manualy in it's textbox (Exp "c") there is no post back from any of the buttons on the page.
Only when the user enter a valid path like "c:" or uses "browse" the buttons are able to postback
How can I fix this or how can i prevent the user from entering text manualy to the FileUpload.
Rafael
Moreno
|
|
|
|
|
Just add this "contentEditable=false" to your input file tag. It will serve the purpose.
Apurva Kaushal
|
|
|
|
|
Great! thanks
Moreno
|
|
|
|
|
Always welcome..
Apurva Kaushal
|
|
|
|
|
Hi,
I'm using session for user name, now the problem is that when i click logoff i use this code to kill session:
Session["username"]=null;
Session.Abandon();
Response.Redirect("xxxx.aspx");
but this code didn't work and when i type userhome.aspx in brower. It allow user to get in this page and user name display on the page.
Any solution...
Thanks
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
try this
session.remove("username");
best regard
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|