|
Use Object datasource or Sqldatasource.
|
|
|
|
|
Since the gird is filled based on the selected form values, i am using databind for the grid.
is there some sort of viewstate or postback property i can set?
|
|
|
|
|
You can use select parameter in object datasource also.
<asp:ObjectDataSource ID="odsCMS" runat="server" SelectMethod="getAll"
TypeName="Gold.GroupMaster">
<SelectParameters>
<asp:ControlParameter ControlID="txtSearchFor" Name="SearchFor" Type="String" PropertyName="Text" />
<asp:ControlParameter ControlID="ddlSearchFor" Name="SearchOn" Type="String"/>
<asp:ControlParameter ControlID="rdolstSearchType" Name="SearchType" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
|
|
|
|
|
Have you written code to bind the grid again on paging like:
protected void gridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
gridView.PageIndex = e.NewPageIndex;
gridView.DataBind();
}
Please check same.
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Guys with regarding to my article Confirm Message Box[^] the control had some issues with postback options. Now, the control handles that.
so, every one who use this control please go to the artile and download the latest version.
Help people,so poeple can help you.
|
|
|
|
|
Don't get down-votes anymore.
My suggestion is keep this type of things/announcements in your CP signature with attractive slogans, surely it will work.
Look at Nish's CP signature[^].
|
|
|
|
|
Dear Thatraja;
Thank you for this advice. but you know what, i checked up my article and i found 19 boockmark and 270 download so i felt responsible about these people.
100 , man and thanks again;
Help people,so poeple can help you.
modified on Wednesday, April 27, 2011 2:54 PM
|
|
|
|
|
Ali Al Omairi(Abu AlHassan) wrote: Sir;
Please cut the "sir" just use my name or dude. I'm just 25(Already worrying about getting old ).
Ali Al Omairi(Abu AlHassan) wrote: Thank you for this advice.
No, I just suggested....(Again I'm saying I'm not that old)
Ali Al Omairi(Abu AlHassan) wrote: but you know what, i checked up my article and i found 19 boockmark and 270 download so i felt responsible about these people.
It happens most of authors, I think some members just bookmark(instead of vote) the articles when they don't have time, later they vote for the articles or forgot that. That's all. But half of them(who bookmarked) surely vote for the articles. Most of newbies just download the articles.
For example take this article. A flexible charting library for .NET[^] - 964 votes - 1,788 Bookmarks - 53,566 Downloads.
Don't worry, you will get more votes soon. Update your article with additional(must be related) details.
Cheers.
|
|
|
|
|
Dear Thatraja;
I told you I am not worried about points or votes (they will come later), my only worry is how to serve people so people would serve me.
but about downvotes;
if you were a soldier fighting for some reason which you think it's Noble you would like the feeling of bullets cutting through your body and also the color of you own blood covering the ground where you are standing.
it's agreat feeling. i was feeling that until some one decided that i should be shoot in the head and deleted the post.
one more thing;
you know, you could respect a man fr his knowlage, his deeds, or may be for his age. so, age is a good reason to be respected.
100 , man
Help people,so poeple can help you.
|
|
|
|
|
When you update your article, the appropriate front page gets updated to say that the article has been updated. If you post in here, you're effectively saying that only those who peruse the questions here get to know about the updates, and that's probably not what you're after.
|
|
|
|
|
you are right, man;
but see what i think, i think poeple on 'Database' forum have nothing to do with an article talking about ASP.Net
but you know what, its good that tell you told me about the home page (I didn't notice that before ).
100 , man
Help people,so poeple can help you.
|
|
|
|
|
I want to Make Mail List to send multi Mails and Spific Group to send messages to many mails
I want to know i do this with Sql Server and asp.net pages and how i acssess it from admin pages
Thanks ....
this certical message
|
|
|
|
|
thats great. Is this a job offer or do you have question?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I want things too
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Hi, I want to use AnimationExtender control in Repeater.
I want to text display, when user move over image his cursor.
I downloaded example from:
http://asp.net/learn/ajax-videos/video-117.aspx
and everything is ok.
but when i add AnimationExtender control in Repeater
the linkbutton not appear in the page ?
how to use this control in repeater, and have
animation in many places ?
Thanks for help
|
|
|
|
|
Hello All,
I have followed a tutorial which is fairly simple.
I have visual web developer 2008 express edition installed, with the ajax toolkit control 3.5 running. For some reason, the text box does not fill with values.
Is there any other setting I am missing? I have a simple page with textbox, and a call to a web service.
==
apsx page
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxtoolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function pageLoad() {
}
</script>
</head>
<body>
<form id="form1" runat="server">
<ajaxtoolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="~/groupListautoComplete.asmx" />
</Services>
</ajaxtoolkit:ToolkitScriptManager>
<asp:TextBox runat ="server" ID="textbox1"></asp:TextBox>
<ajaxtoolkit:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="textbox1"
Servicepath="groupListautoComplete.asmx" ServiceMethod="getCompleteList"
CompletionSetCount="10" EnableCaching="true" MinimumPrefixLength="2">
</ajaxtoolkit:AutoCompleteExtender>
</form>
</body>
</html>
==
I am ran the web service separately and it does return values.
thanks!
modified on Sunday, April 24, 2011 3:40 PM
|
|
|
|
|
Please use the "code block" toolbar item to wrap all your code snippets. This will make it more readable and more likely anyone will answer you.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Please post the code of getCompleteList from your asmx file.
|
|
|
|
|
Normally My code is this,-
<cc1:AutoCompleteExtender
ID="AutoCompleteExtender1"
runat="server"
Enabled="true"
MinimumPrefixLength="1"
TargetControlID="TxtSearch"
ServicePath="PBWebService.asmx"
ServiceMethod="getList"
>
</cc1:AutoCompleteExtender>
|
|
|
|
|
It was an issue converting to value to .TOSTRING() on the code behind file.
|
|
|
|
|
Hi guys,
IF enduser will get 404 error in my application..,
it will give him to the page cannot be found...,
Instead i want to redirect him to some specific page...,
How can i do that?
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
You can use the web.config to do it like this:
<customErrors defaultRedirect="ErrorPage.aspx" mode="On">
<error statusCode="500" redirect="servererror.aspx" />
<error statusCode="404" redirect="filenotfound.aspx" />
<error statusCode="403" redirect="AccessDenied.aspx" />
</customErrors>
|
|
|
|
|
|
Member 3879881 wrote: please don't forget to vote on the post
Done.
Ignorance of the ability brings disability.
|
|
|
|
|
hi All,
I have news in my DB with news ID,
and I am displaying in my website, now client want to display the most read news in separate column.
However I am using Loadbalacing.
Please help me with this...
Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
|
|
|
|