|
just use the QueryString for that particular
<asp:HyperLink ID="hyplnk1" runat="server" Text="Associate Contacts"
NavigateUrl='<%# "~/YourPage.aspx?Code=" + Eval(Server.UrlEncode("Code").ToString()) %>' />
and get the value on YourPage.aspx on pageload
string Code= Request.QueryString["Code"].ToString();
hope this will help u
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Hi deepak i am getting error see this is my hyperlink:
<asp:hyperlink id="Hyperlink1" runat="server" Font-Names="Arial" ForeColor="DarkSlateGray" Width="48px"
BorderStyle="Outset" Height="18px" BorderColor="ActiveCaptionText" BackColor="ScrollBar"
Text="Associate Contacts"
NavigateUrl='<%# "FrmTempEmployeeEdit.aspx?Code=" + Eval(Server.UrlEncode("ddlcontractor.selecteditem.value").ToString()) %>'
BorderWidth="1px" Font-Bold="True">Edit</asp:hyperlink>
Regards,
Magi
|
|
|
|
|
Hi deepak i am getting error in compile time itself in that hyperlink...,
Plz help me to solve that...,
Regards,
Magi
|
|
|
|
|
Just Remove Text="AssociatesContacts"
and give ur Error too
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Hi deepak i remove that text..,
I am getting now compilation error,
This is the error: "Name 'Eval' is not declared" msg
Regards,
Magi
|
|
|
|
|
Hello Everyone,
I want to change the color,border and etc of the Dropdown list in ASP.NET
Thnx.......
|
|
|
|
|
Use css style.
petersgyoung
|
|
|
|
|
How can I do that without forcing the user to download anything on his pc?
BiG RaLpH
|
|
|
|
|
hi there all im trying to do is to post an XML File -which i already built-
from ASP page (C#)into Specific URL
thx
|
|
|
|
|
hi friends
i bind the array in datatable like this
Is it corrcte?
ServiceRequest [ ] requests;
if (zc!=null) requests=ServiceRequest.resortByDistance(requests,zc);
DataRow dr=dtbDataTable.NewRow();
dr(0)=requests;
dtbDataTable.Rows.Add(dr);
regards
saravanan
|
|
|
|
|
Hi,
Is there a way to check when a control receives focus in an aspx web page (Like GotFocus)?
I can only find an option for setting the focus: control.Focus()
|
|
|
|
|
I don't think your web browser would give those events to you. You should go for an ActiveX Textbox if you really need that event.
|
|
|
|
|
Ok. Where do I get that control to add it? I am using MS Visual Web Developer 2005 Express.
|
|
|
|
|
Generally i use this to associate the java scrpt with a button.
Private Sub Page_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
If (Not Page.IsPostBack) Then
Me.btnSave.Attributes.Add("onclick","return validate();")
End If
End Sub
But if the button is in side a gridview's footer control how can i do this?
sanjay kumar samantaray
|
|
|
|
|
I think you can add the client-side event in design time.. Just open the design view and add the event in button in footer template.....
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
way to get an exe file from asp.net application
Thanks&Regards,
Priya.
|
|
|
|
|
Priya Cool wrote: convert an asp.net application to an exe file
No. You have to change it manually....
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
i mean,where shud i start with,
someobdy help me...
Thanks&Regards,
Priya.
|
|
|
|
|
i have nade a controll (user controll) which contains two textboxes and a button
i have draged it on a web page (page1)
in the click event of button of the user control i have redirected it to page2
i am getting values of all the controlls other than those in the user control
how can i get the values of the two text boxes of the self defined controll
thanx
|
|
|
|
|
You should create two public properties or methods for accessing those textboxes in User Control. then, it will be more easier to access those values from UI developer's side..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
i am not getting the user defined controll
when i use
ASP.usercontroll cont=(ASP.usercontroll)PreviousPage.FindControl("usercontroll");
i get the exception refrnce not set to an instance of an object
|
|
|
|
|
Are you the one who create this user-defined control? (Are you a component developer or UI developer?)
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
I need help how upload pdf file.
Sohail Ali
|
|
|
|
|
Suhail Ali wrote:
I need help how upload pdf file.
File upload control ?
|
|
|
|
|