|
Please suggest me with a good example
|
|
|
|
|
|
gkarthikeyan1987 wrote: Please suggest me with a good example
Maybe yo should give us your teacher's email and we'll send the code direct, that way you won't have to waste any time copying it.
|
|
|
|
|
In my web application ,i wanted to sign a document using smartcard at the client side and verification at the server side.
I have done this by using capicom activex objects in javascript.but for a small string also it gives the signed output of more then 3000 charactes.
If anyone has already done this process,please give me your valuable suggesion/input.
Is there any alternate for capicom,to use in web application?
Thanks and regards,
Ramba
|
|
|
|
|
i have a gridview for which columns are autogenerated.
i used a datatable to bind the values to grid.
now i want to select a cell.on click of this cell the page should be navigated to other aspx page and along with it carry the cell data and cell column header value also.
for cells that does not have any values i want multi selection of those cells
|
|
|
|
|
So what have you tried?
AFAIK, you will need to add an onclick event (javascript) of each of your gridview cell. From there, you will have to do a manual submit. You will also need to set a hidden field that will let you know that the postback was caused by the gridview cell click.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
I don't think so. OP has used datagrid in subject and gridview in the post. I went with the control in the post i.e. gridview. Although I should have asked if it is a DataGrid or a GridView.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
A HyperlinkColumn is used to allow navigation to another resource. You can attach additional information needing to be passed to the the other page using the query string for this link. Depending on what you sending to the next page it may be better to pass an ID and look up the info on the page.
http://aspnet.4guysfromrolla.com/articles/040502-1.aspx[^]
only two letters away from being an asset
|
|
|
|
|
Respected Sir,
How I can read the .pdf file which is uploaded into the server,
by using Fileuploade Control.Please help me...
Thanks.
|
|
|
|
|
Give the Link directly to the pdf file...!
lrsalunkhe wrote: Fileuploade Control
Why to use Fileupload control?.
Fileupload control Uses only to save the file..!
FileUpload1.SaveAs (Server .MapPath (FileUpload1.PostedFile.FileName ));
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Respected Sir,
I have Save the File after that can we view this saved file.
Thanks.
|
|
|
|
|
your question is not clear......... You have uploaded a PDF file and now you want to show that file........
|
|
|
|
|
Respected,
I am Read or Access for display this uploaded pdf file again it has to be saved on server.
Thanks..
|
|
|
|
|
Take a Hyperlink and set the navigate url to tht pdf
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/YourFile.pdf">HyperLink</asp:HyperLink>
or
Response.Redirect("Yourpdf.pdf");
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
i am using asp.net + C#
in my page i use label for "Bio post" ,to display.If the user enter datas like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"etc. with out enter any space. the alignment problem will occur .i want to display all the details like
"aaaaaaaaaaaaaaa"
"aaaaaaaaaaaaaaa"
"aaaaaaaaa"
.Is it possible.I dont need scroll bar in that. if the text not fix in specified width of that label it will come next line.
|
|
|
|
|
Then Why dont you use textbox and use the properties
TextMode="MultiLine" ReadOnly="True"
instead of label..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
you can split text according to the available width and send remaining text to the next line. Repeat this process.
Regards...
- Amit Kushwaha
|
|
|
|
|
Put the label in a div and use CSS properties to set the width and height of the div appropriately.
only two letters away from being an asset
|
|
|
|
|
i use div tag and also css
css
.label_one
{
width:700px;
height:auto;
word-break:normal;
word-wrap:break-word;
}
and add that css in to div
but the problem is the width still there after applying that css.
|
|
|
|
|
I dont Think So It will Work with css..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
i want to set the label in in page width but after using the div tag the problem is not solved.is any other control is there.i cant use text box bcs i dont need scroll bar in that.
|
|
|
|
|
deepthy.p.m wrote: i want to set the label in in page width
You want the text to wrap, but you also want it to be the width of the page?
only two letters away from being an asset
|
|
|
|
|
I am using MS-ACCESS with ASP.NET & C#.
To maintain the session my code is.
if (ds.Tables[0].Rows.Count > 0)
{
Session["SUBSCRIBER_USERNAME"] = Login1.UserName;
Session["SUBSCRIBER_PASSWORD"] = Login1.Password;
}
else
{
Response.Redirect("index.aspx");
}
I have 3 other pages in my web application.
I have a logout button on all the 3 pages onwhich I want to apply logout coding. How can it be done?
Please help.
Thanks.
|
|
|
|
|
Purish Dwivedi wrote: have a logout button on all the 3 pages onwhich I want to apply logout coding
you can use Session.Abandon(); in each of the button click
|
|
|
|