Click here to Skip to main content
15,925,081 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: viewstate or session variables which one is advantageous? Pin
N a v a n e e t h3-Jul-07 22:27
N a v a n e e t h3-Jul-07 22:27 
GeneralRe: viewstate or session variables which one is advantageous? Pin
Rammohn3-Jul-07 23:48
Rammohn3-Jul-07 23:48 
AnswerRe: viewstate or session variables which one is advantageous? Pin
Urs Enzler3-Jul-07 23:19
Urs Enzler3-Jul-07 23:19 
QuestionCall Smart Client Method from JavaScript. Pin
Irshad Ahmed3-Jul-07 21:16
Irshad Ahmed3-Jul-07 21:16 
Questionhow to create a page in dreamweaver and run it in asp.net Pin
dbn8313-Jul-07 21:13
dbn8313-Jul-07 21:13 
QuestionDataGrid with Check Box Pin
Rahul Babu3-Jul-07 21:10
Rahul Babu3-Jul-07 21:10 
AnswerRe: DataGrid with Check Box Pin
_AK_3-Jul-07 21:12
_AK_3-Jul-07 21:12 
Questionproperties of a control in gridview for asp.net Pin
hari4ur3-Jul-07 21:03
hari4ur3-Jul-07 21:03 
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]">
AnswerRe: properties of a control in gridview for asp.net Pin
_AK_3-Jul-07 21:27
_AK_3-Jul-07 21:27 
GeneralRe: properties of a control in gridview for asp.net Pin
hari4ur4-Jul-07 23:22
hari4ur4-Jul-07 23:22 
QuestionReport Viewer Fixed Header problem!! Pin
sidbaruah3-Jul-07 20:59
sidbaruah3-Jul-07 20:59 
QuestionFileUpload error - no postback Pin
sir_moreno3-Jul-07 20:52
sir_moreno3-Jul-07 20:52 
AnswerRe: FileUpload error - no postback Pin
_AK_3-Jul-07 21:23
_AK_3-Jul-07 21:23 
GeneralRe: FileUpload error - no postback Pin
sir_moreno3-Jul-07 22:27
sir_moreno3-Jul-07 22:27 
GeneralRe: FileUpload error - no postback Pin
_AK_3-Jul-07 22:43
_AK_3-Jul-07 22:43 
QuestionKill Session [Urgent] Pin
| Muhammad Waqas Butt |3-Jul-07 20:39
professional| Muhammad Waqas Butt |3-Jul-07 20:39 
AnswerRe: Kill Session [Urgent] Pin
Imran Khan Pathan3-Jul-07 20:46
Imran Khan Pathan3-Jul-07 20:46 
QuestionRe: Kill Session [Urgent] Pin
| Muhammad Waqas Butt |4-Jul-07 20:24
professional| Muhammad Waqas Butt |4-Jul-07 20:24 
Questiontextbox in gridview control Pin
Raghvendra Kumar Roy3-Jul-07 19:56
Raghvendra Kumar Roy3-Jul-07 19:56 
AnswerRe: textbox in gridview control Pin
Viral Upadhyay3-Jul-07 20:27
Viral Upadhyay3-Jul-07 20:27 
GeneralRe: textbox in gridview control Pin
Raghvendra Kumar Roy3-Jul-07 20:35
Raghvendra Kumar Roy3-Jul-07 20:35 
AnswerRe: textbox in gridview control Pin
linpihong3-Jul-07 20:51
linpihong3-Jul-07 20:51 
AnswerRe: textbox in gridview control Pin
sidbaruah3-Jul-07 21:02
sidbaruah3-Jul-07 21:02 
GeneralRe: textbox in gridview control Pin
Raghvendra Kumar Roy3-Jul-07 22:06
Raghvendra Kumar Roy3-Jul-07 22:06 
Questioninit prerender events of page Pin
Sonia Gupta3-Jul-07 19:49
Sonia Gupta3-Jul-07 19:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.