use: The miracle is this--the more we share, the more we have.
Gaurav K Singh
Posts
-
I want to play avi file continually. -
how to print Landscape report using ASP.Netit depends how you creating report, is it doc, excel, pdf, directly, or you are using crystal report. it you are using any particular class for creating report, so approx every class having its page setting property. If your problem is still not solve. Send some more details. The miracle is this--the more we share, the more we have.
-
DataGrid or GridViewwrite code in the GridView1_RowCreated event. If e.Row.RowType = DataControlRowType.Header Then 'write code for the grid header only else 'write code for rest of the rows you can customize every column from here. e.Row.Cells(0).CssClass = "style1" End If from style you can change anything forecolor, backcolor, font, font size ... anything... The miracle is this--the more we share, the more we have.
-
Textbox with image problemYou cannot do it directly. Use any trick. Like use div tags (runat=server) containg images and place it on the textbox by setting its position:absolute. and on the click on div tag write the server side code. The miracle is this--the more we share, the more we have.
-
color of Drop down list remove on post back...I applid color based on the flag if the flag value in database =0 then the item color will red and if flag value is 1 then item color will green?...
The miracle is this--the more we share, the more we have.
-
problem with Treeviewuse the below code to get selected treeview node text or value For Each nodes As TreeNode In TreeView1.CheckedNodes Response.Write(nodes.Text & "--" & nodes.Value & "") Next
The miracle is this--the more we share, the more we have.
-
color of Drop down list remove on post back...I uses the following code to dynamic fill the dropdownlist and forecolor of list item is set, it show good when first time load, but the style removes when the page postback...Any suggestion? The code i use to fill dropdownlist is following... Try cnn.Open() myreader = cmd.ExecuteReader() While myreader.Read() lst = New ListItem(myreader.GetValue(0).ToString().Trim(), myreader.GetValue(1).ToString().Trim()) If myreader.GetValue(2).ToString().Trim() = 0 Then lst.Attributes.Add("style", "color:Red") Else lst.Attributes.Add("style", "color:Green") End If ddl.Items.Add(lst) End While ddl.DataBind() Catch ex As Exception Throw New Exception(ex.Message) Finally cnn.Close() End Try
The miracle is this--the more we share, the more we have.
-
Video not found (FLV palyer error)If every thing is same then there may be compitability problem. Means the flv player on the server is not updated or some thing else. upload another vedio (and old flv) and check it...
The miracle is this--the more we share, the more we have.
-
Gridview ProblemAdd a blank row in data set and then bind it with grid view. If you want to do it on button click do the same on button clicki.
The miracle is this--the more we share, the more we have.
-
Sending sms through .NetJust go to this link http://www.codeproject.com/KB/cpp/SendSmsThroughWS.aspx The miracle is this--the more we share, the more we have.
-
how to create a sub link in a menu dropdownlistLook this code... Dim itm As New MenuItem("hi") Dim itm1 As New MenuItem("me") Dim subitm As New MenuItem("subhi") itm.ChildItems.Add(subitm) Menu1.Items.Add(itm) Menu1.Items.Add(itm1)
The miracle is this--the more we share, the more we have.
-
No overload for method errorthe function written by by needs two parameter, you must pass it in your function call like Excel(datagrid object,response object)
The miracle is this--the more we share, the more we have.
-
how to change the theme dynamically?Use Page.Theme = themename; on page pre init event. for details check this... http://www.codeproject.com/KB/HTML/ThemeChanging.aspx
The miracle is this--the more we share, the more we have.
-
Accessing shared folder through websharing and web sharing is different thing. Make your folder as web share with the with read and write permission.
The miracle is this--the more we share, the more we have.
-
toolbar image is not displayingfirst be sure, it is only problem of aspnet_client folder. Type to copy and paste this folder into your project.
The miracle is this--the more we share, the more we have.
-
toolbar image is not displayingcheck the aspnet_client folder. Place it in the project root folder.
The miracle is this--the more we share, the more we have.
-
Tollbar Image is not showing........ [modified]check the aspnet_client folder. Place it in the project root folder.
The miracle is this--the more we share, the more we have.
-
how to get the page when some one enter url " http://10.10.15.57:1230/CMS/admin/Login.aspx"Try to use server variable SERVER_NAME.
The miracle is this--the more we share, the more we have.
-
MessageBox Yes/No Buttons!!if (confirm("Are you sure you want to delete the custom search?")==true) return true; else return false;
The miracle is this--the more we share, the more we have.
-
array of hyperlinks-->Try this... Dim hf As HyperLink() = New HyperLink(100) {}
The miracle is this--the more we share, the more we have.