|
Belive me I wasn't drinking while posting this.
Somehow, only read Security and came to conclusion. My ignorance.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Manas Bhardwaj wrote: Belive me I wasn't drinking while posting this.
|
|
|
|
|
Add System.Web.dll from Add References . You will find the dll at the Framework Directory.
If your .NET 2.0 installed in C:\Windows\Microsoft.NET\Framework\<V2.0.X.X>
add that dll, then try
|
|
|
|
|
hey i can find System.Web.dll in C:\Windows\Microsoft.NET\Framework\..how to add to my project..i have to copy tht dll file and paste it somewhere in my project..
|
|
|
|
|
mahichandu wrote: hey i can find System.Web.dll in C:\Windows\Microsoft.NET\Framework\..how to add to my project..
In your project. Right click and select "Add Reference..."
A dialog will pop up (usually after some seconds - It is quite slow at starting)
In the .NET tab look in the list for System.Web or System.Security (what ever you are trying to add) and hit Okay.
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
hey i found the way to add ..thnx
modified on Thursday, June 11, 2009 12:39 PM
|
|
|
|
|
hi all,
i am frequently getting timeout problem
where the problem is coming i don't know
but i am using
sqlcommand.commandtimeout=25000
still the problem is coming..
let me know the solution
Regards,
Koti
|
|
|
|
|
katarukoti wrote: i am frequently getting timeout problem
Which time out you want to avoid. It can be at multiple levels i.e. Web Server (IIS), SQL or if its more complex infrastructure than at firewall level.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
first let me know the differences between iis and sql
myproblem is with iis only i think..
when i run the application in debug mode if i idle for not more than 60seconds also it is saying timeout problem
Regards
Koti
|
|
|
|
|
Did you tried to debug your application? Where it exactly taking the time ?
|
|
|
|
|
when i run the app in debug mode
if i wait for not morethan 60seconds also it is saying timeout problem..
where the problem happens i don't know exactly
kindly let me know where the problem is happening and how to getrid off
from this..
Regards
Koti
|
|
|
|
|
Hi all,
asp.net+updatepanel+modalpopup extender+panel
when i load the page the modalpopup data is flickering..
how to avoid this...
in page load i am not showing the data of modalpopup
when i click on button of the page only i am showing the modalpopup extendar data(controls)
in mean while only flickering is happened..
Regards,
Koti
|
|
|
|
|
I maybe too late to reply this post, but hope to help others who meet similar problem on solving this.
I fixed this but putting the popup panel into another panel and set the display style to "none".
<asp:Panel runat="server" ID="container" style="display:none" >
<asp:Panel runat="server" ID="popupPanel" >
.....
</asp:Panel>
</asp:Panel>
|
|
|
|
|
Turn the page property SmartNavigation to true.
|
|
|
|
|
Hi all
I have a web page with a number of webparts which I have created (as in inherited from Webpart not just web controls in a zone) in a zone I have created along with a created chrome. They all work fine!
The problem is that they contain a lot of information and I have noticed that when you try to drag a webpart you need to wait a little while before you can actually move it about - I'm assuming this is because it is rendering the webpart again in it's semi visible state.
I was wondering if it is possible to only have the title bar with the title of the webpart with any verb buttons rendered in the semi visible control that is attached to the cursor when moving a webpart. Is there a function in the webpart itself that I need to override? Or perhaps something to put into the RenderWebPart method of the chrome so that it wont call renderPartContents for the drag rendering?
Many thanks in advance!
|
|
|
|
|
After some further research I have come to conclusion that it is not possible - there is inbuilt javascript that simply clones the webpart into a floating div that appears when you go to drag a webpart. Maybe in future versions (I'm working in 2.0) this can change...
Initially I wanted to have the page in catalog mode all the time but to get a solution to the problem I have moved away from this. I have added a boolean property to my webparts that when set to false will not add any controls to the webpart. Therefore when my button is pressed to put the page in catalog mode, this flag is set to false meaning just the title of the webparts are displayed enabling quick cloning into the floating div.
Thanks to anyone that did try and find a solution.
|
|
|
|
|
How can I make the Response.Redirect() method or something inside that methode not
change the special character in the link.
here is my code:
<br />
string strURL = "http://www.myweb.com/doThatThing.aspx?run=th&rp=Y"Ê"<br />
Response.Redirect(strURL, false);<br />
Unfortunately it somhow changes the special characters so it ends up lik
http:
so the last part is changed from Y”Ê to Y%e2%80%9d%02%c3%8a%e2%82%ac
I'm not exacty shore where the text is change.
Any sugesstion?
Maby I can change the parameter back from Y%e2%80%9d%02%c3%8a%e2%82%ac to Y”Ê ?
Thanks
Thomas
|
|
|
|
|
Try using the unicode escape for the characters you want.
|
|
|
|
|
You should check the MSDN for the magic that Server.URLEncode and Server.URLDecode does.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
I have an odd CalendarExtender control.
I added EnableScriptGlobalization="true" EnableScriptLocalization="true" to the scriptmanager and now my control shows in Dutch except for the line 'Today: juni 11, 2009' On the ajax.asp.net example site the word 'Today' is translated into the Dutch verb 'Vandaag'.
How can the 'Today' also be translated into Dutch for my site? I am using control toolkitversion 3.0.30512.17815
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
I created a main project (called the Portal) that has the sitemap and master page in it. I created a virtual path provider so that other projects/site can use the master page. I created a project called WebTest that uses the virtual path provider to get the master page of Portal. But WebTest now complains that it can't find the sitemap.
I want WebTest to use the sitemap of Portal. How do I do this.
I've tried adding the following code in the web.config file:
add name="WebSiteMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Tax.sitemap"
I do not want to use Sharepoint. Is there an easier why to share the sitemap accross IIS?
|
|
|
|
|
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();
List<String> Array_To_Be_Replaced = new List<String>();
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/
|
|
|
|
|
why check all the cells in the row while you only need Cells[0] ?
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Thanks for your Advice, i see what you mean, You want me to Loop only for the cells in column 0. Please advice with example code.
Thanks
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/
|
|
|
|
|
the event is Gridstaff_SelectedCellsChange(object sender, SelectedCellsEventArgs e)
does the 'e' not have a reference to the cell that has been changed? Now you check the complete grid! Why check teh complete grid if you are only interested in the changed cell?
'Please advice with example code. ' --> what have YOU tried?
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|