|
|
I am creating a site that contains large documents that are stored in the database. I have to provide the search functionality in the web site. so somebody can help me in designing the search functionality.
Is there any document avilable that describes the web search functionalty design like yahoo, google etc.
Ashwani
|
|
|
|
|
I am using DTSearch and it's really nice. It has APIs and does a crawl of your site. I haven't aimed it directly at a database yet but I guess the functionality is there. Otherwise, I always create some kind of webpage that the DTSearch engine can crawl.
dtsearch.com/
|
|
|
|
|
Hi All,
I am developing Rich Text Editor and I am have to save the text in DB, the problem I am facing is with bullet list or ordered list.
Actually when newline comes it replaces the newline with some kind of box and in DB it saves all the contents which is before that box.
I need to save the whole text with newline and retrive the same text with newline.
Please help me...
Thanks in advance
|
|
|
|
|
You need to escape the unprintable character with a slash:
newline is \n
return is \r
Not sure if this will help. Can you give more information if it doesn't?
|
|
|
|
|
Thanks for the reply I got the solution but now I am facing different problem. I need to show the text on page load where text is fetched from DB.
I know I have to use Jaavscript but not getting the syntax.
Please help...
Thanks in advance...
|
|
|
|
|
You're using Javascript to get the information from a database? So you're using AJAX?
In either case (using AJAX or not) you need to have a server side page that will return the results. If you want to show the results with Javascript the server side db connection page will need to display the db resultset in a way that Javascript can read: either in XML or JSON or something else. JSON works really well and is bandwidth conservative: json.com/
|
|
|
|
|
I have one aspx page in which i am calling an Axplayer popup
window by clicking on a button.Popup window will play the video.It
does not contain any controls.
When i close that window ,the aspx page from which i am calling should get refreshed.I want code for this in C#.Please give reply soon.
Thanking you,
Await yur reply.........
|
|
|
|
|
Use
window.location.reload();
in javascript on parent aspx page.
|
|
|
|
|
To make the browser load the page from the server, and not just reloading it from the cache, inlude a true value in the call:
window.location.reload(true);
---
single minded; short sighted; long gone;
|
|
|
|
|
Add an OnUnload event handler in the popup window that points to a method.
In this method, code the following:
if (self.opener) {
self.opener.location.reload();
}
|
|
|
|
|
good day if my first question is hard to understand...
how to make a bound column into a buttom Column / or link column?
thanks
start a new beginning in every ending; thats what life for......
|
|
|
|
|
Hi,
Do u want to display data from the datasour in the text property of button or link?
if yes then you can create <asp:buttonfield> column as following
<asp:ButtonField ButtonType="link" DataTextField="fieldname" CommandName="commandname"/>
This will display a linkbutton column with the text property from "fieldname" column from the datasource.
I hope this will help u.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Sir thank you it gives me an idea..
but this is not what i wanted although its close to it...
i have 3 columns with databounds, and i want the first column to have a capability of link or same as button field...
start a new beginning in every ending; thats what life for......
|
|
|
|
|
Hi,
You can order your columns as u want by making "autogenerantecolumns" propertry of gridview to false and creating your column in order whatever u want.
see the following example.
<asp:GridView runat="server" ID="gv" AutoGenerateColumns="false">
<Columns>
<asp:ButtonField ButtonType="link" DataTextField="username"/>
<asp:BoundField DataField="username" />
<asp:BoundField DataField="password" />
</Columns>
</asp:GridView>
Here the first column will have a link button and next two column will just display data.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
good day to everyone im new to asp.net and using a 2005 version
i need help on how to set a buttonColumn to any column on my grid in asp.net2005...
i used this inserted this code :
<--! ButtonColumn CommandName="select" HeaderText="Employee"
''' DataTextField="EmployeeName" /> -->
i encounter this error:
Parser Error Message: System.Web.UI.WebControls.DataControlFieldCollection must have items of type 'System.Web.UI.WebControls.DataControlField'. 'asp:ButtonColumn' is of type 'System.Web.UI.WebControls.ButtonColumn'.
anyone, pls i need help
start a new beginning in every ending; thats what life for......
|
|
|
|
|
Hi,
I dont know is this your are expecting.
<asp:GridView ID="GridView1" runat="server">
<Columns>
<asp:ButtonField ButtonType="Button" Text="Button" />
</Columns>
</asp:GridView>
if not, specify what you are trying to do.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
to be simple i had three columns in my gridview and all three columns had bound values / data...
the thing that i wanted to do is how to make the first column that has bound data into a buttonColumn for selection?
start a new beginning in every ending; thats what life for......
|
|
|
|
|
moomoooomoo wrote: bound data into a buttonColumn for selection
Can You explain this?
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
Hi
<asp:GridView ID="GridView1" runat="server">
<Columns>
<asp:CommandField ButtonType="Button" ShowSelectButton="True" />
</Columns>
</asp:GridView>
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
this helps but this code adds a new control button..
i want to make use one of my three columns that is already displayed on the gridview... and change it to be an hyperlink to button select....
start a new beginning in every ending; thats what life for......
|
|
|
|
|
Oh.. I See
What you should do is
convert field in to a template field.
Add watever controls you need in to the template field.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
How to list field heading / column headings when there is no records in the case of gridview listing of data.
Thank you
vijaya
vijaya
|
|
|
|
|
In the function that gets the data, check the count of the rows, and if its = 0 add a blank dummy row:
if (myTable.Rows.Count==0)
{
DataRow myNewRow = myTable.NewRow();
myTable.Rows.Add(myNewRow);
}
|
|
|
|
|
i am not getting it so i used this mehtod but
how to implement it in BLL ?
if (GridView1.Rows.Count == 0)
{
GridView1.DataSource = mylist.GetAdapter("SELECT 'COMPCD', 'COMPNM', 'CORPADD','CORPCITY' FROM Dual ");
GridView1.ShowHeader = false;
}
GridView1.DataBind();
vijaya
|
|
|
|