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

ASP.NET

 
GeneralRe: How to develop vedio and audio chat in asp.net ( c#.net ) Pin
Colin Angus Mackay4-Jan-09 4:38
Colin Angus Mackay4-Jan-09 4:38 
GeneralRe: How to develop vedio and audio chat in asp.net ( c#.net ) Pin
N a v a n e e t h4-Jan-09 14:55
N a v a n e e t h4-Jan-09 14:55 
QuestionProblem Regarding Div Tag Pin
ais073-Jan-09 18:26
ais073-Jan-09 18:26 
AnswerRe: Problem Regarding Div Tag Pin
Colin Angus Mackay4-Jan-09 4:40
Colin Angus Mackay4-Jan-09 4:40 
GeneralRe: Problem Regarding Div Tag Pin
Steve Dubyo4-Jan-09 6:37
Steve Dubyo4-Jan-09 6:37 
QuestionQuestion about the IIS log file folder (is there a general way to get the folder path?) Pin
Mika Larramo3-Jan-09 15:37
Mika Larramo3-Jan-09 15:37 
AnswerRe: Question about the IIS log file folder (is there a general way to get the folder path?) Pin
Colin Angus Mackay4-Jan-09 4:43
Colin Angus Mackay4-Jan-09 4:43 
Questiondisabling the select feature programatically on gridview Pin
bfis1081373-Jan-09 11:52
bfis1081373-Jan-09 11:52 
I have a form that I only want the select feature visible if a user is logged in. For whatever reason when I run the following code, the select button still appears. I know my checking is ok because I also want to hide the submit button and that works. I am sure I am doing something not right. Help me please. Here is the code I am using.

protected void Page_Load(object sender, EventArgs e)
    {
        if (IsPostBack)
            return;
        BooksBLL bll = new BooksBLL("C");
        Book[] books = bll.allBooks();
        GridView1.DataSource = books;
        GridView1.DataBind();
        if (Session["role"] != null)
        {
            if ((UserRoles)Session["role"] != UserRoles.User && (UserRoles)Session["role"] != UserRoles.Admin)
            {
                uxBtnSubmit.Visible = false;
                GridView1.AutoGenerateSelectButton = false;
            }
        }
        else
        {
            uxBtnSubmit.Visible = false;
            GridView1.AutoGenerateSelectButton = false;
        }
        
    }

AnswerRe: disabling the select feature programatically on gridview Pin
moon_stick5-Jan-09 1:29
moon_stick5-Jan-09 1:29 
QuestionBinding data from sql to asp Calender Controle Pin
kimo code3-Jan-09 7:32
kimo code3-Jan-09 7:32 
AnswerRe: Binding data from sql to asp Calender Controle Pin
Abhijit Jana4-Jan-09 0:40
professionalAbhijit Jana4-Jan-09 0:40 
GeneralRe: Binding data from sql to asp Calender Controle Pin
kimo code4-Jan-09 3:16
kimo code4-Jan-09 3:16 
GeneralRe: Binding data from sql to asp Calender Controle Pin
Abhijit Jana4-Jan-09 3:42
professionalAbhijit Jana4-Jan-09 3:42 
GeneralRe: Binding data from sql to asp Calender Controle Pin
kimo code4-Jan-09 4:47
kimo code4-Jan-09 4:47 
Questionwierd null reference exception in asp but not in windows forms Pin
bfis1081373-Jan-09 6:51
bfis1081373-Jan-09 6:51 
AnswerRe: wierd null reference exception in asp but not in windows forms Pin
Colin Angus Mackay3-Jan-09 7:05
Colin Angus Mackay3-Jan-09 7:05 
GeneralRe: wierd null reference exception in asp but not in windows forms Pin
bfis1081373-Jan-09 7:18
bfis1081373-Jan-09 7:18 
QuestionSession timeout problem Pin
nour1233-Jan-09 4:57
nour1233-Jan-09 4:57 
AnswerRe: Session timeout problem Pin
Aman Bhullar3-Jan-09 5:11
Aman Bhullar3-Jan-09 5:11 
GeneralRe: Session timeout problem Pin
N a v a n e e t h3-Jan-09 5:17
N a v a n e e t h3-Jan-09 5:17 
GeneralRe: Session timeout problem Pin
Colin Angus Mackay3-Jan-09 5:28
Colin Angus Mackay3-Jan-09 5:28 
GeneralRe: Session timeout problem Pin
N a v a n e e t h3-Jan-09 5:39
N a v a n e e t h3-Jan-09 5:39 
GeneralRe: Session timeout problem Pin
nour1233-Jan-09 6:59
nour1233-Jan-09 6:59 
GeneralRe: Session timeout problem Pin
Colin Angus Mackay3-Jan-09 7:07
Colin Angus Mackay3-Jan-09 7:07 
GeneralRe: Session timeout problem Pin
nour1233-Jan-09 18:41
nour1233-Jan-09 18:41 

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.