Click here to Skip to main content
15,901,035 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionChange what is rendered when dragging a webpart Pin
waddie111-Jun-09 3:24
waddie111-Jun-09 3:24 
AnswerRe: Change what is rendered when dragging a webpart Pin
waddie112-Jun-09 5:02
waddie112-Jun-09 5:02 
Questionspecial character in web link Pin
thomasa11-Jun-09 3:17
thomasa11-Jun-09 3:17 
AnswerRe: special character in web link Pin
Ennis Ray Lynch, Jr.11-Jun-09 3:21
Ennis Ray Lynch, Jr.11-Jun-09 3:21 
AnswerRe: special character in web link Pin
Vasudevan Deepak Kumar11-Jun-09 3:22
Vasudevan Deepak Kumar11-Jun-09 3:22 
QuestionCalendarExtender and translation is only doing half work Pin
Herman<T>.Instance11-Jun-09 3:03
Herman<T>.Instance11-Jun-09 3:03 
QuestionUse 1 sitemap on different websites Pin
Andrea Petronella Roux11-Jun-09 2:32
Andrea Petronella Roux11-Jun-09 2:32 
QuestionGridview is Very slow on the Cells change event Pin
Vimalsoft(Pty) Ltd11-Jun-09 2:11
professionalVimalsoft(Pty) Ltd11-Jun-09 2:11 
Good Day all

i have a Ultrawebgrid i n my page and i display Data in this Way
STAFF                CYCLES
=========================
Galloway A Ms	  20,22,23,24,25,26
Gama, E	          20,22,24,25
Grieve S Ms	  20,25,26
Jones D Dr	  24,26


and a user can select the Staff in the Grid by Holding a Control key and i have trapped the selection in the Gridstaff_SelectedCellsChange and handled it like this

protected void Gridstaff_SelectedCellsChange(object sender, SelectedCellsEventArgs e)
{
    Change_Control_Availability_Cycles_Enable(); //Enable the Disabled button

    List<String> Array_To_Be_Replaced = new List<String>(); //This are the Values to be replaced, they will be stored in this array

    foreach (UltraGridCell cell in Gridstaff.DisplayLayout.SelectedCells)
    {
        if (cell.Column.Index == 0)
        {

            if (cell.Value != null && cell.Value.ToString() != "")
            {
                cell.Style.ForeColor = System.Drawing.Color.Red;

                Array_To_Be_Replaced.Add(cell.Value.ToString());

            }

        }

        else
        {

        }
    }
    Session["Array_To_Be_Replaced"] = Array_To_Be_Replaced;

}


Now when my user is selecting the Staff, this page becomes very Slow.

Can you please advice me on the approach and the Bottleneck in my code.

Thank you

Vuyiswa Maseko,

Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

AnswerRe: Gridview is Very slow on the Cells change event Pin
Herman<T>.Instance11-Jun-09 3:10
Herman<T>.Instance11-Jun-09 3:10 
GeneralRe: Gridview is Very slow on the Cells change event Pin
Vimalsoft(Pty) Ltd11-Jun-09 3:17
professionalVimalsoft(Pty) Ltd11-Jun-09 3:17 
GeneralRe: Gridview is Very slow on the Cells change event Pin
Herman<T>.Instance11-Jun-09 5:03
Herman<T>.Instance11-Jun-09 5:03 
GeneralRe: Gridview is Very slow on the Cells change event Pin
Vimalsoft(Pty) Ltd11-Jun-09 5:23
professionalVimalsoft(Pty) Ltd11-Jun-09 5:23 
QuestionText size problem while writing in an image Pin
milpo11-Jun-09 1:59
milpo11-Jun-09 1:59 
QuestionASP.net Open Page in new browser. Pin
Ryno Engelbrecht11-Jun-09 1:49
Ryno Engelbrecht11-Jun-09 1:49 
AnswerRe: ASP.net Open Page in new browser. Pin
saanj11-Jun-09 2:30
saanj11-Jun-09 2:30 
Question[Message Deleted] Pin
Anupbala11-Jun-09 1:05
Anupbala11-Jun-09 1:05 
AnswerRe: Could not find stored procedure Pin
Colin Angus Mackay11-Jun-09 1:08
Colin Angus Mackay11-Jun-09 1:08 
AnswerRe: Could not find stored procedure Pin
Blue_Boy11-Jun-09 1:10
Blue_Boy11-Jun-09 1:10 
AnswerRe: Could not find stored procedure Pin
Abhijit Jana11-Jun-09 1:14
professionalAbhijit Jana11-Jun-09 1:14 
AnswerRe: Could not find stored procedure PinPopular
Colin Angus Mackay11-Jun-09 1:56
Colin Angus Mackay11-Jun-09 1:56 
General[Message Deleted] Pin
Anupbala11-Jun-09 2:06
Anupbala11-Jun-09 2:06 
GeneralRe: Could not find stored procedure Pin
Colin Angus Mackay11-Jun-09 2:14
Colin Angus Mackay11-Jun-09 2:14 
GeneralRe: [Message Deleted] Pin
Vasudevan Deepak Kumar11-Jun-09 3:20
Vasudevan Deepak Kumar11-Jun-09 3:20 
Questionmouse over event poup control Pin
Member 387988111-Jun-09 0:59
Member 387988111-Jun-09 0:59 
QuestionMultilingual Web Sites with ASP.NET Pin
anbusenthil11-Jun-09 0:43
anbusenthil11-Jun-09 0:43 

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.