|
yes can u help plz
BiG RaLpH
|
|
|
|
|
But why do you want to search the content from the gridview?
You can also search from the database with same condition.
Or You can highlight string with replace methods of string.
i.e
string.replace("keyword","<font color=red>keyword</font>");
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
and I wanna show it on screen does that function show it on screen?
BiG RaLpH
|
|
|
|
|
YES
---------------------------------------------------
|
|
|
|
|
Whatever you do, you should Bind the data again. So, search the word, id whatever, highlight the row which you want to highlight and bind it again.
|
|
|
|
|
can u give me a sample code in VB plz.
and I can't get the hang of searching in a gridview how can I search for the keyword in gridview ?
BiG RaLpH
|
|
|
|
|
Hi,
I am using one container control (lets say datagrid) in one user control so container control's name will be prefixed to all its children controls.
Now because of this my page size is increased so much.
I want to shorts id properties of rendered (server controls to) html controls and it should raised my server side events.
Thank you.
|
|
|
|
|
You can't change the id's, the framework generates them. Your best bet is not to nest anything, that increase the name size. Turning off viewstate, if you can, will give you a better decrease in size.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Hi Christian Graus,
I have overrides UniqueID property, id's shorted but now events lost!!!
|
|
|
|
|
hello, To all my friends
i m working in asp.net 1.0, using frame on my default page(header,left,right).
how can i redirect my user to login page through code when session expire like
if (Session["code"]==null)
{
Response.Redirect("Login.aspx");
}
i want to redirect this link to parent page like this:-
<A href="login.aspx" target="_parent">Redirect</A>
|
|
|
|
|
can u use server.transfer() it can move to parent page or home page
|
|
|
|
|
yes, but it open login page in same frame,BUT
I want it open it in parent page(which is my login page with no frame)
|
|
|
|
|
Ok you wan to open that page in new Window ?
then do it in javascript
window.open('LoginPage.aspx',"height=500, width=600,status=yes,toolbar=yes, menubar=yes,location=no");
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi every body...
i have designed my aspx pages and the alignment was good in iexplorer...
but when i checked in mozilla the total alignment was changed can any body tell me how to fix this one???????????
|
|
|
|
|
Can't say without looking the way you have written your code.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
do all the html coding in proper way and check layout position of ur control relative or not
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
IE supports many attributes and styles than other browser. Use of standard styles and attributes can make the Layout same in both browsers.
|
|
|
|
|
hi all,
i am able to setup and deploy the application(ASp.net2.0) when i am running the application through network it is giving 404 error while access that page .url as fellows http:\\ipaddress\localhost\Setup1\pagename.aspx
please help me .
Thanks And Regards,
Guru.
-- modified at 3:01 Wednesday 26th September, 2007
|
|
|
|
|
instead of localhost and setup1 give the virtualdirectory name
|
|
|
|
|
may i know what is virtual directory name .(i think Steup1 is virtual directory name )
Thanks And Regards,
GuruKiran
|
|
|
|
|
when u set the application in IIS we give the virtual directory.
and if u r giving the ipaddredd then do not specify localhost.
try it and let me know.
|
|
|
|
|
HI,
I need your help, If a user clicks download button one xml document is created and to be download..i have the code for getting the xml document but don't have the code for download that file ..if some body helps me it's great....
regards
alex.
|
|
|
|
|
you can download a file by using this code it will show window that will ask to save,open,cancel
<br />
string filename = "YourFileName.xml";<br />
<br />
if (filename != "")<br />
{<br />
<br />
string path = Server.MapPath(filename);<br />
<br />
System.IO.FileInfo file = new System.IO.FileInfo(path);<br />
<br />
if (file.Exists)<br />
{<br />
<br />
Response.Clear();<br />
<br />
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);<br />
<br />
Response.AddHeader("Content-Length", file.Length.ToString());<br />
<br />
Response.ContentType = "application/octet-stream";<br />
<br />
Response.WriteFile(file.FullName);<br />
<br />
Response.End();<br />
<br />
}<br />
<br />
else<br />
{<br />
<br />
Response.Write("This file does not exist.");<br />
<br />
}<br />
<br />
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi,
That's not the way i expect..because i don't have specific file in location...this xml document is created dynamically at runtime say, when the user clicks download button.....
alex
|
|
|
|
|
Ok add that file runtime then by provding stream of your xml file
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|