|
i tried that now.............it worked.
bt does it affect the performance of the server.......???
|
|
|
|
|
Full Text search gives you better performance compared to the conventional query using "like".
Read those articles completely for details.
|
|
|
|
|
The actual application is very big.
This searching requirement is actual a small part of it.
I saw that it slows down other parts of the application.
Wht do u say ???
|
|
|
|
|
Well, It would be difficult to guess why your application got slower and how much and why your full text search is affecting your other part of the application without seeing your application design/architecture.
I would suggest try to explore the reason why it slows down the application instead of simply guessing something. Your guess may or may not be correct.
|
|
|
|
|
want something like this
Coding an N-Tier Application in C# Without Any Wizard: Part II[^]
?Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I am trying to Response.Redirect to another web application but ASP.NET keeps corrupting the URL. Example, if i am at "http://localhost/application1/main.aspx" and i do redirect to "http://localhost/application2/default.aspx" the redirected url will become "http://localhost/http://localhost/application2/default.aspx". It is as if ASP.NET is guessing that i am redirecting using partial URL, but i am not. How does one fix this?
|
|
|
|
|
redfish34 wrote: ASP.NET keeps corrupting the URL
ASP.NET is not corrupting it, you are just not using the tools correctly. How are you making the redirect call? I know the language. I've read a book. - _Madmatt
|
|
|
|
|
In the click event of a form button i have VB "Response.Redirect(url string)" It is really quite simple. The string i pass is what i described in my initial posting, it is a complete "http://" string. It appears that ASP.NET and/or the IIS server is disregarding the "http://" part and assuming that i am making a relative reference and so adds the redirect url to the server root url, as i describe in my initial post. I tried doing workaround by calling a html web form and use javascript to automatically submit it and the form submit creates the same url corruption. Funny thing about this, this redirect url corruption only occurs when calling different web applications that are in the same domain, such as "http://server1/application1" and "http://server1/application2". If i call a web application on "http://server2/" instead of "http://server1/" i do not experience this. As i mentioned, the corruption does not occur all the time, but frequently enough to be a major issue. So far i have found no solution or workaround. I may have to contact Microsoft technical support on this one.
|
|
|
|
|
If you wanna redirect to another web application url. you need add "http://" at the beginning.
Response.Redirect("http://localhost/application2/default.aspx");
|
|
|
|
|
Hey guys,
I need to load only a small part of web page. Is it possible to do that using WebBrowser control?
Thanks.
|
|
|
|
|
Just to be clear you are talking about a Windows app loading a portion of a webpage correct? If so then you would need to get the portion of HTML you need and insert it into the WebBrowser control, you can't request a portion of a web page unless it is available from the content provider as such. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Yes.
do you have any example which shows the next words - 'you would need to get the portion of HTML you need and insert it into the WebBrowser control'?
Thanks.
|
|
|
|
|
|
Hi,
I have the following code :
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server" Width="70px" ValidationGroup="ValGrp"/>
<asp:MaskedEditExtender ID="TextBox1MaskedEditExt" runat="server" TargetControlID="TextBox1"
Mask="99/99/9999" MaskType="Date" UserDateFormat="DayMonthYear" />
<asp:MaskedEditValidator ID="TextBox1MaskedEditVal" runat="server" ControlExtender="TextBox1MaskedEditExt"
ControlToValidate="TextBox1" IsValidEmpty="False" EnableClientScript="False" ValidationGroup="ValGrp"
EmptyValueMessage="*" InvalidValueMessage="dd/mm/jjjj" /><br />
<asp:Button ID="SubmitButton" runat="server" Text="Submit" ValidationGroup="ValGrp" />
</ContentTemplate>
</asp:UpdatePanel>
</form>
TextBox1 is a required date field. On submitting the code throws me a client exception saying :
'className' is null or not an object
What is wrong here ?
|
|
|
|
|
Do you have any Javascript code too associated with the page?
'className' is a javascript attribute and the error sounds like client side.
Check if you have assigned/missed any css.
|
|
|
|
|
Dear All,
My slide show extender does not work automatically even though defined as follows:
<cc1:SlideShowExtender ID="SlideShowExtender1" runat="server"
BehaviorID="SSBehaviorID"
TargetControlID="img1"
SlideShowServiceMethod="GetSlides"
AutoPlay="true"
ImageDescriptionLabelID="lblDesc"
NextButtonID="btnNext"
PreviousButtonID="btnPrev"
PlayButtonID="btnPlay"
PlayButtonText="Play"
StopButtonText="Stop"
Loop="true" >
</cc1:SlideShowExtender>
should I check somewhere else..
please advice it is drawing me crazy...
|
|
|
|
|
Ersan Ercek wrote: SlideShowServiceMethod="GetSlides"
AutoPlay="true"
ImageDescriptionLabelID="lblDesc"
NextButtonID="btnNext"
PreviousButtonID="btnPrev"
PlayButtonID="btnPlay"
Please check whether you have created ServiceMethod named GetSlides properly. Moreover, pls check for other controls have created the same id as you have defined in properties: lblDesc, btnNext, btnPrev for their corresponding controls.
If you are still getting problem, you can download the Ajax Control Toolkit Sample Application and see the code sample how it is working.
|
|
|
|
|
Dear Anurag,
Thanks for the response..
I created the following method in aspx.cs file.. I did not get it is realition with asmx files.. Does it have anything to do with it?
[System.Web.Services.WebMethod]
[System.Web.Script.Services.ScriptMethod]
public static AjaxControlToolkit.Slide[] GetSlides()
{
AjaxControlToolkit.Slide[] imgSlide = new AjaxControlToolkit.Slide[4];
imgSlide[0] = new AjaxControlToolkit.Slide("images/1.jpg", "Autumn", "Autumn Leaves");
imgSlide[1] = new AjaxControlToolkit.Slide("images/2.jpg", "Creek", "Creek");
imgSlide[2] = new AjaxControlToolkit.Slide("images/3.jpg", "Landscape", "Landscape");
imgSlide[3] = new AjaxControlToolkit.Slide("images/4.jpg", "Dock", "Dock");
return (imgSlide);
}
It does not throw any exception. Why do you think it happens=
|
|
|
|
|
Dear Anurag,
Well I tried a sample code, also it did not work..
do you think it could have something to do with my AjaxToolkit version?
|
|
|
|
|
Do other controls of the sample code are working on your system? if not, then, you may try re-installing Ajax Toolkit.
If yes, Try to debug the code and find out what error it is throwing/ where it got struck.
|
|
|
|
|
I try to set a div's vertical-aligment to middle. like this:
but it doesn't work in any web browser and it seems like the vertical-alignment is still "top"
|
|
|
|
|
Hi,
Please explain little more, else no one can help,
It look like div width problem or other div not position problem.
|
|
|
|
|
vertical align property does not work with div you better to set padding for it.
|
|
|
|
|
Hi all,
I want to display confirmation message box in Asp.net code behind file.
i am performing some operation
after that one message should come if user click on ok then only it should execute other line.
Thanks and regards;
amit patel
|
|
|
|
|