Click here to Skip to main content
15,888,351 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Dynamic Table Pin
Christian Graus2-Mar-09 17:14
protectorChristian Graus2-Mar-09 17:14 
GeneralRe: Dynamic Table Pin
N a v a n e e t h2-Mar-09 17:28
N a v a n e e t h2-Mar-09 17:28 
GeneralRe: Dynamic Table Pin
Christian Graus2-Mar-09 17:30
protectorChristian Graus2-Mar-09 17:30 
GeneralRe: Dynamic Table Pin
Jimi George2-Mar-09 18:31
Jimi George2-Mar-09 18:31 
Question[Message Deleted] Pin
KA Mainstream2-Mar-09 14:21
KA Mainstream2-Mar-09 14:21 
AnswerRe: Problems using sendmail.asp script Pin
Christian Graus2-Mar-09 14:29
protectorChristian Graus2-Mar-09 14:29 
QuestionDataGrid - Get the value of invisible cell Pin
alvarog012-Mar-09 9:01
alvarog012-Mar-09 9:01 
AnswerRe: DataGrid - Get the value of invisible cell [modified] Pin
Yusuf2-Mar-09 11:23
Yusuf2-Mar-09 11:23 
if you set Visible property of the column to false, that column will not rendered. That is why you getting String.Empty when you query the cell value.

The work around is to use css to hide the column from the user. Now you can access the cell value the same way as you access the visible=true columns.

First define your css, example

<style type="text/css">
    .columnHidden
    {
        display:none;
    }
    .columnVisible
    {
        display:block;
    }
</style>



Now use the css to hide your columns

<asp:boundfield datafield="PID" itemstyle-cssclass="columnHidden" />

Yusuf

modified on Monday, March 2, 2009 6:13 PM

GeneralRe: DataGrid - Get the value of invisible cell Pin
alvarog012-Mar-09 21:27
alvarog012-Mar-09 21:27 
QuestionUser.IsInRole("<somegroup>") returning false????</somegroup> Pin
pnslcs2-Mar-09 7:32
pnslcs2-Mar-09 7:32 
Questioncheck date change Pin
suni_dotnet2-Mar-09 5:00
suni_dotnet2-Mar-09 5:00 
AnswerRe: check date change Pin
Yusuf2-Mar-09 7:54
Yusuf2-Mar-09 7:54 
QuestionASP.net code to place one Image on another image Pin
Malleswar12342-Mar-09 4:34
Malleswar12342-Mar-09 4:34 
AnswerRe: ASP.net code to place one Image on another image Pin
Brian W King2-Mar-09 9:19
Brian W King2-Mar-09 9:19 
GeneralRe: ASP.net code to place one Image on another image Pin
Malleswar12349-Mar-09 3:22
Malleswar12349-Mar-09 3:22 
QuestionHow the URL Mapping work in ASP.NET 3.5 ? Pin
King Shez2-Mar-09 4:10
King Shez2-Mar-09 4:10 
AnswerRe: How the URL Mapping work in ASP.NET 3.5 ? Pin
Abhishek Sur2-Mar-09 4:19
professionalAbhishek Sur2-Mar-09 4:19 
GeneralRe: How the URL Mapping work in ASP.NET 3.5 ? Pin
King Shez2-Mar-09 20:11
King Shez2-Mar-09 20:11 
GeneralRe: How the URL Mapping work in ASP.NET 3.5 ? Pin
Abhishek Sur3-Mar-09 20:29
professionalAbhishek Sur3-Mar-09 20:29 
QuestionJavaScript for validating input value to the gridview Pin
Reddy19832-Mar-09 3:17
Reddy19832-Mar-09 3:17 
AnswerRe: JavaScript for validating input value to the gridview Pin
Abhishek Sur2-Mar-09 3:31
professionalAbhishek Sur2-Mar-09 3:31 
QuestionBarcharts Pin
member272-Mar-09 2:57
member272-Mar-09 2:57 
AnswerRe: Barcharts Pin
Abhishek Sur2-Mar-09 3:03
professionalAbhishek Sur2-Mar-09 3:03 
GeneralRe: Barcharts Pin
member272-Mar-09 21:30
member272-Mar-09 21:30 
QuestionAbandoning Session not logging out Pin
Tristan Rhodes2-Mar-09 2:40
Tristan Rhodes2-Mar-09 2:40 

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.