Click here to Skip to main content
15,914,905 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Is it possible to to read the ftp file remote without downloading to the local drive Pin
Guffa19-Feb-08 15:53
Guffa19-Feb-08 15:53 
GeneralRe: Is it possible to to read the ftp file remote without downloading to the local drive Pin
Christian Graus19-Feb-08 16:26
protectorChristian Graus19-Feb-08 16:26 
GeneralRe: Is it possible to to read the ftp file remote without downloading to the local drive Pin
Kennie_n200019-Feb-08 16:54
Kennie_n200019-Feb-08 16:54 
GeneralRe: Is it possible to to read the ftp file remote without downloading to the local drive Pin
Guffa19-Feb-08 20:39
Guffa19-Feb-08 20:39 
GeneralWeb messenger [modified] Pin
waheed awan19-Feb-08 12:22
waheed awan19-Feb-08 12:22 
GeneralXSL Dropdown problem [modified] Pin
waheed awan19-Feb-08 11:51
waheed awan19-Feb-08 11:51 
GeneralRe: XSL Dropdown problem Pin
Christian Graus19-Feb-08 12:38
protectorChristian Graus19-Feb-08 12:38 
QuestionIssue with viewstate? or something else? Pin
Neophyte3019-Feb-08 5:30
Neophyte3019-Feb-08 5:30 
Well, having fixed my problem with caching (or so I thought) by deleting an old website and re-publishing it, I now have a new set of fun problems. I suspect I've caused them whilst trying to force the new version of a page through. A different page is now misbehaving.

I have a button which when clicked, changes the datasource for a gridview based on it's own text, then changes it's own text (so that next time it is clicked it will perform the other action, and change it's text back again). However now, although the first click works ok* when clicked again it fires as though it has the same text.

protected void btn_switchallorown_Click(object sender, EventArgs e)
    {
        // check which to switch to
        switch (btn_switchallorown.Text)
        {
            case "Show queued requests for ALL departments":
                // change SQL command
                // change button text
                btn_switchallorown.Text = btn_switchallorown.Text.Replace("ALL departments", "YOUR department");
                // change empty data text
                break;
            case "Show queued requests for YOUR department":
                // change SQL command
                // change button text
                btn_switchallorown.Text = btn_switchallorown.Text.Replace("YOUR department", "ALL departments");
                // change empty data text
                break;
            default:
                break;
        }
        // refresh both gridviews
        gvw_Queued_Requests.DataBind();
        gvw_totals.DataBind();
    }



Can anyone suggest what I may have broken? This all worked quite happily before? I have tried re-enabling the viewstate but no joy...

* except that a tree-view used for navigation collapses to it's root node (never did before).
AnswerRe: Issue with viewstate? or something else? Pin
Christian Graus19-Feb-08 12:40
protectorChristian Graus19-Feb-08 12:40 
GeneralRe: Issue with viewstate? or something else? Pin
Neophyte3019-Feb-08 23:03
Neophyte3019-Feb-08 23:03 
AnswerRe: Issue with viewstate? or something else? Pin
Neophyte3020-Feb-08 5:40
Neophyte3020-Feb-08 5:40 
Generalspecify color in c# Pin
eyeseetee19-Feb-08 5:05
eyeseetee19-Feb-08 5:05 
GeneralRe: specify color in c# Pin
Guffa19-Feb-08 7:58
Guffa19-Feb-08 7:58 
Generali have access database [modified] Pin
ritu432119-Feb-08 2:28
ritu432119-Feb-08 2:28 
GeneralRe: i have access database Pin
That's Aragon19-Feb-08 2:39
That's Aragon19-Feb-08 2:39 
GeneralRe: i have access database Pin
Venkatesh Mookkan19-Feb-08 18:01
Venkatesh Mookkan19-Feb-08 18:01 
GeneralRuntime error handling problems. Pin
matjame19-Feb-08 2:05
matjame19-Feb-08 2:05 
GeneralA field or property with the name 'full_desc' was not found on the selected data source. Pin
Neophyte3019-Feb-08 2:03
Neophyte3019-Feb-08 2:03 
GeneralRe: A field or property with the name 'full_desc' was not found on the selected data source. Pin
J4amieC19-Feb-08 2:09
J4amieC19-Feb-08 2:09 
GeneralRe: A field or property with the name 'full_desc' was not found on the selected data source. [modified] Pin
Neophyte3019-Feb-08 2:12
Neophyte3019-Feb-08 2:12 
GeneralRe: A field or property with the name 'full_desc' was not found on the selected data source. Pin
Neophyte3019-Feb-08 4:28
Neophyte3019-Feb-08 4:28 
QuestionUsing membership and roleprovider, how to prevent being signed out and redirected to login.aspx when access denied? Pin
lizarb19-Feb-08 1:33
lizarb19-Feb-08 1:33 
GeneralHelp me Please Friends Pin
Zeeshan Ahmed Memon19-Feb-08 1:09
Zeeshan Ahmed Memon19-Feb-08 1:09 
GeneralRe: Help me Please Friends Pin
Christian Graus19-Feb-08 12:44
protectorChristian Graus19-Feb-08 12:44 
GeneralHelp me Please Pin
Zeeshan Ahmed Memon19-Feb-08 1:03
Zeeshan Ahmed Memon19-Feb-08 1:03 

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.