You're most welcome.
Regards n Thks Sam.M
You're most welcome.
Regards n Thks Sam.M
follow the below: 1.
for (int index = 0; index < this.grid_Update.Columns.Count; index++)
{
if (this.grid_Update.Columns[index].HeaderText == "SomeHeader")
this.grid_Update.Columns[index].Visible = false;
}
2. "SomeHeader" is nothing but the column header.
Regards n Thks Sam.M
Sorry friend. This is not working. I've tried. Do u've anyother solution for this?
Regards n Thks Sam.M
Hi, In my web application am using Samrtnavigation in web.config file
<pages smartNavigation="true">
And when i try to set Focus for my text box, like
TextBox1.Focus()
it's not working. I've tried javascript and other stuffs. Can any one here to help? Pls
Regards n Thks Sam.M
Hello there, Am having a application which has the database like different kind of files - employee.idx, employee.dat and employee.blb How could i connect this through asp.net application? I hope i need to connect dat file. Please help..!!
Regards n Thks Sam.M
Sorry, i don't understand. Can u please give me some sample code
Regards n Thks Sam.M
The error which i'm getting is: Compiler Error Message: CS0103: The name 'HardCodedValues' does not exist in the current context Source Error: Line 24: <div align="center"> Line 25: <a href="http://www.2kmobilelink.com" target="_blank"> Line 26: <img border="0" id="ImgHeader" alt="<%= HardCodedValues.HeaderText %>" src='<%= ConfigurationManager.AppSettings["ImagePath"]%>2KMobileLinkHeader.jpg' Line 27: style="height: 185; width: 760" /></a> Line 28:
Regards n Thks Sam.M
Hi there, I'm having a webpage which has img control and i want to set alt message for that, but the message would be changable. So i want to put it in some class file. Below is my code but it's not working. Can u please suggest what i can do? <img border="0" id="ImgHeader" alt="<%= HardCodedValues.HeaderText %>" style="height: 185; width: 760" />
and my class file is: public class HardcodedValues { public static string HeaderText = "2K Billing"; }
Regards n Thks Sam.M
Same image path but different image name. how to get that value from common_methods? Also i don't want to use codebehind..!!
Regards n Thks Sam.M
Sorry, I want only image button. Bcoz i'm using around 50 pages. I can't change all now..!! Any other solution is there? Please help..!!
Regards n Thks Sam.M
I dont want to assign this in code behind. I want only in aspx page. Is there any other way to set the imageurl?
Regards n Thks Sam.M
Hi there, I've created a webpage which contains Imagebutton. This image path will be changable, so i want to put in web.Config file. Now how can i assign imageurl? Am using the code as: ImageUrl='<%= ConfigurationManager.AppSettings["ImagePath"]%>navigation_02.jpg'
But image is not displaying and i got source code generated for this aspx page is: <input type="image" name="ctl00$ImgBtnAppt" id="ctl00_ImgBtnAppt" src="<%=%20ConfigurationManager.AppSettings["ImagePath"]%>navigation_02.jpg" style="border-width:0px;" />
Please help..!! How could i asign?
Regards n Thks Sam.M
Thanks. It's working fine.
Regards n Thks Sam.M
I tried,but below error is coming: Compiler Error Message: CS1002: ; expected
Regards n Thks Sam.M
Sorry. This is not working. It's not retrieving the value from web.Config file. When i right click the image and see the properties it says "Not Available" I want to write the path only in aspx page and all other code i've written in code behind. Do i need to register any namespace?
Regards n Thks Sam.M
This is not working. I want to write the path only in aspx page and all other code i've written in code behind. Do i need to register any namespace?
Regards n Thks Sam.M
Hi there, I've created a web page and it contains three images. These all images will be changable. So i want to give the path of images in Web.Config file and file name in that particular image src. How i can give that?. Also am using code behind not inline. I wanted to write only in aspx page not in codebehind. Below is my code: Web.Config: <add key="ImagePath" value="http://192.168.0.181/Labeling/Images/"/>
and in my aspx page, <img id="ImgHeader" runat="server" src="<%header.gif%>" />
What all the ways available to call WebConfig file values? Please help..!!
Regards n Thks Sam.M
Hi there, I created a web page which inherits masterpage. In my web page, i'm having two buttons. when ever that click event occurs, i want that page to be postback. I'm using trigger and all. But postback is not working. If i'm using asp:Scriptmanager, for all the event it's post backing. But i want only for buttons. Below is my code: In masterpage i've written as: <atlas:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />
and in web page, <atlas:UpdatePanel ID="TimeRecordPanel" runat="server"> <ContentTemplate> <asp:Button ID="BtnAddRecord" runat="server" CssClass="ColorButtonOver70_New" Text="Save" OnClick="BtnAddRecord_Click" /> <asp:Button ID="BtnReportCancel" runat="server" CssClass="ColorButtonOver70_New" Text="Reset" OnClick="BtnReportCancel_Click" CausesValidation="False" /> </ContentTemplate> <Triggers> <atlas:ControlEventTrigger EventName="Click" ControlID="BtnAddRecord" /> <atlas:ControlEventTrigger EventName="Click" ControlID="BtnReportCancel" /> </Triggers> </atlas:UpdatePanel>
Please help..!!
Regards n Thks Sam.M
Go through this: http://lifehacker.com/software/email-apps/how-to-use-gmail-as-your-smtp-server-111166.php[^]
Regards n Thks Sam.M
Have you tried smtp.google.com?
Regards n Thks Sam.M