|
try karpach.webcontrols.dll
|
|
|
|
|
hello every one .I have datatable which i assign as a source of grideview.Now i want bind column of that datatable with a link button which is inside the gride.Tell me the idea.
|
|
|
|
|
What have you tried ? Do you know anything about what you're doing at all ? This is beyond trivial, I am sorry. Are you defining your own columns for the gridview, or are you just letting it autogenerate ? If you define your own columns, it's immediately apparent how to define one as a link.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Are you using a Template column?Use Eval/Bind to Bind to the required column.
|
|
|
|
|
You can set the autogeneratecolumns=false in gridview properties and then use template column to bind your columns
need any clarification post me a message
|
|
|
|
|
Hii,
I am looking for a technique or method which would quickly authenticate my users login information and redirect it to its home page.
I have observed gmail which is very quick in authenticating login information of any user.
I am using MySQL database.
I don't want to use asp.net login control.
Looking forward for the answer.
Aspiring Techie,
Vishnu Nath
|
|
|
|
|
While it's good to not use the ASP.,NET control, gmail is far from quick. It just uses AJAX to provide an immediate 'response' and then show a progress bar as it actually loads. Nothing is going to be much quicker than the ASP.NET control, although you can use AJAX to show some sort of progress bar, as gmail does.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi guys my create xmlhttp post method object not working in mozilla...,
plz give me some idea to resolve it...,
function CreateXmlHttp1()
{
try
{
senNif = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e)
{
try
{
senNif = new ActiveXObject("Microsoft.XMLHTTP");
}
catch(oc)
{
senNif = null;
}
}
if(!senNif && typeof XMLHttpRequest != "undefined")
{
senNif = new XMLHttpRequest();
}
}
function Set(txtt,txte,txte)
{
Url="BlInsert.aspx";
var params = "blogsrno="+blo+"&txtt="+txte+"&txtname="+txte+"&txtemail="+txl+"×tamp="+new Date().getTime();
CreateXmlHttp1();
if(senNif)
{
senNif.open("POST", Url, true);
senNif.onreadystatechange = function(){getNew(tdD);};
senNif.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
senNif.setRequestHeader("Content-length", params.length);
senNif.setRequestHeader("Connection", "close");
senNif.send(params);
}
}
function getNew(id)
{
if(senNif.readyState == 4)
{
if(senNif.status == 200)
{ id.innerHTML=senNif.responseText;
}
}
}
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
modified on Saturday, September 19, 2009 3:01 AM
|
|
|
|
|
Firefox does not support ActiveX. My recollection, when I rolled my own AJAX code, was that you had to write code to detect the browser, so you knew what methods to call.
This is a web dev question, not an ASP.NET one.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
thanks Graus, for ur intimation..,.,
to check broswer type i have solved the issue...,
once again tks
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
|
Hi
I have page, which consists of a master page and of course content pages. My master page has a sticky header, footer and navigation bar, which sits on the left. To scroll the content pages, the div tag on the master page uses a css attribute of overflow-x:scroll.
However, I have noticed that on some of pages the bottom of my scroll bar, the down arrow, is hidden or missing under my footer, making it impossible to see the bottom of the page, and also my navigation bar on the left moves out of position by going up the page when the mouse rolls over it. This does not happen other pages, where the entire scroll bar is visible and navigation bar stays where it should be.
I am not sure whether this is anything to do with some of div tags not having the correct size, or whether something else is going on.
Can someone please advise me on this?
Thanks
|
|
|
|
|
Hey,
For having fixed header and footers, I always suggest u to hide the document scroll bar, rather just place a div where the content will come and the div will have a scrollbar.
Means no scollbar will be shown to the body, rather the scrollbar will be shown only to the content of the fixed height div.
I know you can make the entire body to scroll, just in that case you need to take the 16px fix for IE as IE renders scrollbar outside the div, while all other browsers renders it inside.
Just check the user agent and do the alteration using javascript.
|
|
|
|
|
Hi All,
I have a gridview, contains itemtemplate and fooetertemplate.
very first time when the page loads then it should show first is in editablemode, this can be achieved using footertemplate.
The problem is lets say now my grid is having 2 rows now i am in 3rd row, i filled the fieds for third row and then i pressed save button.
Now i need to populate all the three rows. but grid already contains first two rows. only thing when i press save it will save information about the third row and then it should bind with existing rows.
in rowcommand i am getting third row column values and able to store in DB.
I think understood about the problem.
Anybody knows the solution for this please let me know.
|
|
|
|
|
Just refresh the datasource of the Gridview with all the 3 rows in it and call its DataBind. I think it will do it automatically
|
|
|
|
|
Hello everyone,
If page1.aspx starts the session and then user redirects from page1.aspx to page2.aspx, but page2.aspx needs to be secure (starts with https). If we write absolute URL for redirection, session would be lost.
Whats the best and efficient way to redirect from unsecure to secure apsx pages without loosing Session?
Thanks in advance.
|
|
|
|
|
Hi,
I have a big MasterPage (MasterPage_System) e several MasterPages inheriting (don't think it's the right word) this master page.
My question is: Could a web page using a MasterPage_A (that already uses my MasterPage_System) access the MasterPage_System properties?
I tried in the Page_Load method something like this:
((MasterPage_System)(Master.Master)).MyProperty = true; but it doesn't work
Thanks,
Dirso
modified on Friday, September 18, 2009 3:41 PM
|
|
|
|
|
Go into the debugger and walk the tree of objects to find where your class instance is.
I always derive all pages from my own custom base page, so that I can access a strongly typed version of my master page without having to cast every time.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
How to filter top 4 records from a dataset using rowfilter property in codebehind page
|
|
|
|
|
anushh wrote: How to filter top 4 records from a dataset using rowfilter property in codebehind page
No, the RowFilter property was not designed to do that. It is more analogous to the WHERE clause of an SQL statement.
Why dont you do it at the SQL Server itself?
Anyways, you may also try to use this approach:
private DataView GetTopDataViewRows(DataView dv, Int32 n)
{
DataTable dt = dv.Table.Clone();
for (int i = 0; i < n-1; i++)
{
if (i>= dv.Count)
{
break;
}
dt.ImportRow(dv[i].Row);
}
return new DataView(dt, dv.RowFilter, dv.Sort, dv.RowStateFilter);
}
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.
|
|
|
|
|
hey manas...
How about
datataable.AsEnumerable().Take(n) //where n is the no of rows from datatable.
|
|
|
|
|
Abhishek Sur wrote: datataable.AsEnumerable().Take(n)
This is so nice.
I am still living with VS 2005. I must plan to move on to the VS 2010 soon
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.
|
|
|
|
|
I guess so mate. Few days back... I was in 2005 like you.
But after using LINQ.. I always suggest to shift from 2005, and work in 2008. 2010 is far apart. Even I didnt have a chance to work on it..
Cheers.
|
|
|
|
|
Abhishek Sur wrote: 2010 is far apart
Not that far. Already started the download[^]
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.
|
|
|
|
|
Yes Thank you for the link... Already tried the Parallel Extensions in .NET 3.5 .. Excited to see .NET 4.0 with truely multicore support in it.
I have already downloaded the 2010 Beta.. Just have to start doing some tests in this 1.
Hope you are also enjoying this big release too.
|
|
|
|