|
Hello guys,
i have hyperlink in my page. i want to pass hyperlink id as parameter to that link...how to do that??
iahve done following,...but its not working..
<asp:HyperLink ID="HyperLink6" runat="server" Text="File Status" CssClass="CSMenu"
NavigateUrl='<%# "Default.aspx?HyperlinkID=" + HyperLink6 %>'
|
|
|
|
|
NavigateUrl="Default.aspx?HyperlinkID=HyperLink6"
|
|
|
|
|
Hey thnx a lot...its working fine..
|
|
|
|
|
kishorgh wrote: <asp:hyperlink id="HyperLink6" runat="server" text="File Status" cssclass="CSMenu" xmlns:asp="#unknown">
NavigateUrl='<%# "Default.aspx?HyperlinkID=" + HyperLink6 %>'
Just simply use
NavigateURL="url "
or you can set from codebehind as
HyperLink6.NavigateUrl="url";
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
It is Possible:-
without installing acrobat reader we open pdf file in aspx page pleas help me.
if yes then provide some link
thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Piyush Vardhan Singh wrote: without installing acrobat reader we open pdf file in aspx page pleas help me.
Yes, but you will have to interpret the file yourself and work out the correct formatting in HTML instead.
Piyush Vardhan Singh wrote: if yes then provide some link
You could start here[^]. There are lots of links to various PDF resources from that page as well as an overview of the technical details of the file format.
|
|
|
|
|
I want some code or third party control ...... not third part software
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hello Everyone,
I want to add a VB 6.0 ocx file into my application.It is ok to add reference into my web application.I have done that and the some of the ocx file add into BIN folder.But when I call a particular class from the added component then I have to create the object of that class. But it is give me error
Constructor has not define.
It is Ok because VB 6.0 class has not any constructor.Am I right?
So Can You tell me how I call the Component Classes into C#.
ANd when Use the C# windows application it works properly and tool box has some icon for drag and drop into the form.as like the Crystal Report Icon.
So Please give me the idea for web application and for the toolbox also appear these icon.
How is it Possible?
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
hello everybody
i have a nested repeater in which events and tasks are shown now the requirement is i am to export these to .csv file and then import to outlook..
|
|
|
|
|
Then do it ... what is your problem with this.
csv means comma separated values....
|
|
|
|
|
When i finish typing textbox 1, Imagebox1 will appear the picture of what textbox1 has type.
However when i put 3 textbox and 3 image box my coding wont work. Any help?
|
|
|
|
|
have you tried textbox textchanged event.
with regards
rahul
|
|
|
|
|
i am using this code but it give the exception:-
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
Please help me. Thanks
string path = @"C:\\VB2005\\FileConversion\\FileConversion.Web\\Upload\\mailid.pdf";
imageBytes = sqlCommand.ExecuteScalar()
Response.Clear();
Response.Buffer = true;
Response.ContentType = "application/pdf";
Response.AddHeader("content-disposition", path);
StringWriter stringWriter = new System.IO.StringWriter();
HtmlTextWriter htmlTextWriter = new HtmlTextWriter(stringWriter);
this.RenderControl(htmlTextWriter);
Response.Write(stringWriter.ToString());
Response.End();
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
hi,
I have a drop down list box and a menu bar above it. The menu bar produces drop down sub-menus on mouse over. But the Drop down list box is being displyed over the menu option. What can i do to display the sub-menus above drop down list. I am not able to get the z-index property for drop down list....
I am creating the menus in the master page, and the drop down list boxes are in some other .aspx files.
scarface
|
|
|
|
|
No need to repeat the same question again and again.
Why not you use a floating IFrame just below the dropdown listbox. It will cover up the select control.
Now manipulate the z-index of the menu.
|
|
|
|
|
I am working on Website. i want to create a custom error page for my website which will handle all the error occured while application is running.
So If you have a solution please help me.
Thank you.
|
|
|
|
|
You should add Global.asax into your project and
just call the error page into
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
}
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
|
I will suggest you to use <customerrors></customerrors> Tag in web.config
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
hi everybody
i want to retreiving the image which is stored in sql server database using asp.net. all images are stored in datagrid which i want to retreive.
please help me in coding
|
|
|
|
|
Just go through this link
http://www.dotnet-guide.com/save-image-in-sql.html[^]">
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Hi,
I have two custom metadata columns for Document Library, when ever uploading a document or creating new document in the document library, have to fill the metadata columns,
in this, my both metadata columns are choice types, when ever i select an option from the first choice based on this the second metadata column should populate values based on the selection
i mean
First metadata column having the values like
1
2
3
...
The second metadata colum should populate the values based upon the previous value selected from the first metadata column,
can any one come across with the same situations, please let me know or any suggestions.
Thanks
Modiyam
Modiyam
|
|
|
|
|
I am trying to access my linksys router's, web configuration to parse out my WAN ip address. However, I can't seem to get the Credentials to work correctly. I think the problem is that I am not passing the credentials first, and then trying to access the web pages. Here is the code I am using.
Dim request As System.Net.HttpWebRequest
Dim response As System.Net.HttpWebResponse = Nothing
Dim MyCredentialCache = New System.Net.CredentialCache
Dim ds As DataSet
Try
request = DirectCast(System.Net.WebRequest.Create("http://10.100.200.1/RouterStatus.htm"), System.Net.HttpWebRequest)
MyCredentialCache.Add(New Uri("http://10.100.200.1/RouterStatus.htm"), "Basic", New System.Net.NetworkCredential("", "thepassword", ""))
request.Timeout = 60 * 1000
response = DirectCast(request.GetResponse(), System.Net.HttpWebResponse)
ds = New DataSet()
ds.ReadXml(response.GetResponseStream())
Catch ex1 As System.Net.WebException
Debug.Print(ex1.Message)
Catch ex As Exception
Debug.Print(ex.Message)
Finally
If Not response Is Nothing Then response.Close()
End Try
I keep getting an Authentication Failed error 404 when attempting the response = directcast.....
Any help would be greatly appreciated!
|
|
|
|
|
Ryan Fleming wrote: MyCredentialCache.Add(New Uri("http://10.100.200.1/RouterStatus.htm"), "Basic", New System.Net.NetworkCredential("", "thepassword", ""))
What is the reason behind leaving userid blank ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
The linksys router only uses a password, no username. When I access the web config pages using a browser, I always leave the username blank. Although I can use a username and the router ignores it. I have tried in the code to pass a username, but still get the 404 error.
|
|
|
|