Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
83% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #914
~17.6K People Reached
Favorite Tags

29 Posted Topics

Member Avatar for nezammca

Hello nezammca, If you are asking for populating GridView without hit in the DB. Then you can try this. [code=vb.net] #Region "Page Methods" Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then PopulateGridView() End If End Sub #End Region #Region "Methods" Public Sub …

Member Avatar for shubham.raval.5496
0
1K
Member Avatar for jellybeannn

Your button controls are outside form tag . Try adding inside it. It will work. I guess we have already discuss about similar topic [URL="http://www.daniweb.com/forums/thread293990.html"]here[/URL]

Member Avatar for Hamza Bukhari
0
2K
Member Avatar for lara.rachel.7

Hey Lara, Welcome to daniweb! We'll be waiting for your wonderful advanced ideas!!

Member Avatar for extr3mex
0
63
Member Avatar for eesha.ebaad

Hi eesha.ebaad, I can understand how you feel when you find your image in your specified location but can't see in your page. To fix this you might need a fully qualified URL to the specified resource suitable for use on the browser i.e.`ResolveClientURL("~Your Link")` So, your code should be …

Member Avatar for prashantchalise
0
119
Member Avatar for fawadkhalil

Hi, Try this [CODE=asp.net] <asp:Image ID="imgSmallPics" runat ="server" ImageUrl ='<%# "~/AdsPictures/" & Eval("pictureName")%>' [/CODE] Actually, I too used to have problem on attaching Eval methods with server side and pure html controls. :) Hope this works. Thanks,

Member Avatar for eesha.ebaad
0
2K
Member Avatar for markdean.expres

Hi, The only solution you receive here is the basic about exception handling, Please don't limit yourself here. Go google , make a deep research on one of the most interesting topic. You can have a quick start [URL="http://msforge.net/blogs/janko/archive/2008/03/08/asp-net-exception-handling-best-practices.aspx"]here.[/URL] ( really a nice one.)

Member Avatar for markdean.expres
0
110
Member Avatar for swathys

Hi, Convert your "CurrentTranxDateTime" to string before manipulation. Thanks,

Member Avatar for swathys
0
370
Member Avatar for YMCMb

Hi Kushal, I guess you are talking about creating the proper SQL statement. May be this can help you [CODE=asp.net] Dim sqlStr As String sqlStr = "IF EXISTS(SELECT 'True' FROM MyTable WHERE strCol = 'SearchParam') " sqlStr &= "BEGIN " sqlStr &= "SELECT 'record exists !' " sqlStr &= "END …

Member Avatar for YMCMb
0
396
Member Avatar for mldardy

Hi, You can try this as well, In the code behind where you perform the redirect operation, instead try something like this, [CODE=vb.net] Dim jsStr As String = "window.open('" +url+ "');" ScriptManager.RegisterStartupScript(Me.Page, Me.Page.GetType(), "", jsStr, True) [/CODE]

Member Avatar for abelLazm
0
4K
Member Avatar for Mishalkk09

Hi, Did you mean to maintain the values even after post back by using ViewState. If it is then try something like this, 1) Declare your properties [CODE] 'Property Hi Public Property displayHi() As String Get Return Cstr(ViewState("displayHi")) End Get Set(ByVal value As String) ViewState("displayHi") = value End Set End …

Member Avatar for prashantchalise
0
414
Member Avatar for khan43

Hey Khan43, I believe if it is only about rounded corners in the Div, then it can simply be acheived using proper CSS. Why need of AjaxControlToolKit here?. you can view some techniques [URL="http://www.devwebpro.com/25-rounded-corners-techniques-with-css/"]here.[/URL] Hope this help.:idea:

Member Avatar for khan43
0
131
Member Avatar for Mike Bishop

Hi, Initially you need to bind the total Sum to the @Ctotal (as Ctotal is OutPut parameter) in your SP with name "ClaimTotal" in following manner, SELECT @Ctotal = SUM(total) FROM claim Afterwards, You need to create proper code block to find value in @Ctotal. [CODE=vb.net] Dim cTotal As Integer …

Member Avatar for prashantchalise
0
171
Member Avatar for Sarama2030

Hi, Is it with only the current project that you are working on or with all the others projects.? Please confirm this and be descriptive so it can be easier to reply on this. Thanks

Member Avatar for Sarama2030
0
185
Member Avatar for eileenc87

Congrats, May be it was by using "DateTime.Now().ToShortDateString()". Finally, Why don't you mark this as solved . thanks

Member Avatar for eileenc87
0
90
Member Avatar for leahrose87

Hi, Try using the following [code=vb.net] CType(frmMyForm, frmMyForm).Show() [/code] Hope this works :)

Member Avatar for leahrose87
0
96
Member Avatar for ragnarok511

I guess you are experiencing loading and handling problems with the dynamically added buttons for Next and submit. Not exactly but below i have listed the possible way for dynamically populating Next and Back buttons and setting up event handler for them. You can copy the code and make corrosponding …

Member Avatar for prashantchalise
0
133
Member Avatar for jpallavi

Try creating social networking site for a specific product that you like most. Such as forums, reviews etc. for mobile, laptops, furniture etc. When compared with recent trends it sounds common but it help you build wider approach towares web. It will be more easier using CMS and the best …

Member Avatar for prashantchalise
0
64
Member Avatar for pritesh2010

Hi, Do you want to delete record from DB after pressing the delete button.? If yes then you can try the following. 1 ) Add appropriate buttons in your aspx page. [code=asp.net] <asp:TemplateField> <ItemTemplate> <asp:Button ID="btnDelete" Text="Delete" CommandArgument=''<%#DataBinder.Eval(container,"dataitem.ID")%>'' CommandName="DELETECURRENTROW" OnClientClick="return confirm('Are you sure you want to delete this record?')" runat="server" …

Member Avatar for prashantchalise
0
116
Member Avatar for laptop545

Hi, It is really simple just to implement the file upload. But depending upon the condition and requirements it varies alot. Let us talk about some conditions that arise with your code. 1) The file uploader must have a file attached with it. 2) Check file size (mustn’t be ) …

Member Avatar for prashantchalise
0
103
Member Avatar for Weppies

Attaching a dataset within session and binding data from session while paging records seems very easy but I belive it create worst scenerio for resouces especially when your datatable is huge. I recommend passing your pageNumber and PageSize parameter to your stored procedure and evaluate the paging in following way. …

Member Avatar for Weppies
0
365
Member Avatar for jellybeannn

May be the issue is in form tag. The first thing I suggest you is try using simpler approach, i.e. using single form control and placing other server control inside it. I guess it is only the design issue that bothers you. But if you really need to does this …

Member Avatar for jellybeannn
-1
2K
Member Avatar for Abdul Rouf

I guess using the following will be much easier. [code=vb.net] dg_Movies.DataSource = ds.Tables("Tbl_MovNames").DefaultView() dg_Movies.DataBind() [/code]

Member Avatar for prashantchalise
0
226
Member Avatar for hirenpatel53

try using, [code=vb.net] ctype(ContentPlaceHolder1.FindControl("textbox1"),TextBox).text=session("menu") [/code]

Member Avatar for hirenpatel53
0
127
Member Avatar for kalit

Many reasons can lead you to this condition such as module not found, Usercontrol not compatible or contains error etc. You need to login as super user and view the exact reason for this.

Member Avatar for prashantchalise
0
90
Member Avatar for bbman

Hi, Why don't you use hiddenfield instead of populating in column and find in following way [code=vb.net] p=GridView1.Rows(i).FindControl("hfMyText").value [/code]

Member Avatar for prashantchalise
0
2K
Member Avatar for lm111

Hi, Please refer to my post on [url]http://www.daniweb.com/forums/post1256376.html[/url] [code=vb.net] Dim dv As New DataView() With dv .Table = ds.Tables(0) .RowFilter = "dataColumnName='A%'" End With yourGridView.DataSource = dv yourGridView.DataBind() [/code]

Member Avatar for lm111
0
117
Member Avatar for ykel

Hello ykel, I guess you are using a placeholder to load control. As you say that you get a value of -1 instead of selected value, it means your ddl control get lost while rendering. To solve this do the followings 1)Please check your UC is maintained in every post …

Member Avatar for ykel
0
172
Member Avatar for Uzumaki52

Hello, Hope this works [code=asp.net] <asp:TemplateField> <ItemTemplate> <asp:ImageButton ID="ibtnTestBtn" ImageUrl="yourimageURI.jpg" Enabled='<%#IIf(IsDBNull(DataBinder.Eval(Container, "DataItem.ColumnName")), True, False)%>' runat="server" /> </ItemTemplate> </asp:TemplateField> [/code]

Member Avatar for prashantchalise
0
73
Member Avatar for deeptakshd

Hello deeptakshd, If it is related to filtering only then try something like this, 1) Replace your hyperlink with linkbutton 2) Add code similar to below in your linkbutton click event. Suppose if it filter value with A then, [code=vb.net] 'Get Dataset for binding in gridview. 'Dim ds as DataSet …

Member Avatar for prashantchalise
0
283

The End.