Iv been playing with Fiddler ( a http debugging util) lately and noticed that CodeProject has no compression enabled. The code project front page shrinks from 53kb to 13kb !!!, that's a huge improvement.
Whats the pro / cons of having compression enabled for a site. Why would we not have compression enabled ?
The only cons I can think of is,
1. Extra overhead to compress content on the servers (codeprojects, 15k online members ?), how would one create a benchmark/test for this?
2. Older browsers not supporting compression?
Been using blowery compression on our back office systems (50-100 users) and its making a huge improvement.
I have a DataGrid with the width set as 100% and several individual ItemTemplates controlstyles width set to a fixed size in px. Now I want to set the last one to fill out the rest of the space. I thought the syntax for that was * however that does not work and I fail at google at the moment. Anyone have any ideas?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Yeah, its weird. It was working just fine before, but after a recompile (no changes to code, mind you), this.Master (or Page.Master, same thing) returns a null. Whats more weird, if I hover the mouse over where I use this.Master, ir returns teh corect thing. However, when I step through the line where I use it, or read its value into a variable, it equals null. Could anyone shed some light on this, or is it completely FUBARed?
HEre i had a problem with message box.When i want to display some message,it is showing msgbox.Means i am able to show the message, and here my problem is----
i have to Redirect to the perticular Form while clicking on OK.(with Response.Redirect("a.aspx"))
Is it possible to do in that manner?
My code for msgbox is
Public Sub ShowMessageBox(ByVal msg)
Dim str As String
str = "alert('" + msg + "');"
Please any one understand the problem and respond to my forum.
Is it possible or not,otherwise which procedure i have to approach???How to do in asp.net????
Thanks in advance
Thanks for ur reply.
WE are doing webbased application.It is not accepting window.location etc.
Where i have to givethis code??on the pageload????
My problem is i have to initilize the project,if any one directly go to the further forms,i have to display the message,And on that msgbox,by clicking on OK he ss redirecting to the first form.
How to do???Please give me correct solution???
Thanks once again.
Hai Guffa and Sandeep,Thanks for your answer.It is working perfectly,\Thanks once again.
And can you give me an idea for ,If i click on OK it has to perform some action and if we click on Cancel,it has to perform other action.
How to check which one(OK or Cancel)was selected????
Give me some idea.
This is code for my confirm message box.
but as per your code ,how to give the if condition,
It is not accepting confirm("some text")???
how to give and where,on the button click event or somewhere???
eventhough it is small i am confusing.
Once again thanks for ur reply
Correct my code please