Categories
- 2011-2020 Agile Apple ASP.NET Cloud Companies Comparison Creativity Databases Deliberate Practice Experience Google Innovation Learning Management Microsoft Mobiles Predictions Productivity Programmers Programming Project Management SDLC Skills SoftwareCraftsmanship SQL-Server Success Super Uncategorized VB.NET
- alignment
- Amazon
- Apple
- ASP.NET
- Backup
- behaviour
- Cell
- Cloud
- cloud development
- comments
- Companies
- Comparison
- Creativity
- CSS
- Databae
- Databases
- DBA
- DELETE
- Deliberate Practice
- DevOps
- Dreyfus Model
- EC2
- error msg
- events
- expertice
- frames
- free software
- God
- GridView
- happyness
- HTML
- HTTP handler
- image
- INSERT
- JavaScript
- layout
- learning
- MaxSize
- Microsoft
- morals
- Nokia
- Oracle
- page
- parameter
- path
- PC development
- phone development
- predict
- Productivity
- QueryString
- risk
- science
- Smart Solution
- social media
- SoftwareCraftsmanship
- sp_
- SQL Server
- steve jobs
- Storage
- tables
- team
- Time Management
- Tough Problem
- TreeView
- UI
- UPDATE
- Upload
- VB.NET
- Virtualization
- VM
- web.config
- web development
- Word
Top Posts & Pages
Twitter Updates
Tweets by AhmedAbayazidCounter
Category Archives: ASP.NET
Two Tables Side by Side
The secret is in adding style=”float:right” <asp:Table runat=”server” style=”float:right”> <asp:TableRow> <asp:TableCell>Table1 Cell1 </asp:TableCell> </asp:TableRow> </asp:Table> <asp:Table ID=”Table1″ runat=”server” style=”float:right”> <asp:TableRow> <asp:TableCell>Table2 Cell1 </asp:TableCell> </asp:TableRow> </asp:Table>
Copy Cell in GridView
In GridView add this column: <asp:CommandField ButtonType=”Button” SelectText=”” ShowSelectButton=”True” /> [\sourcecode] Then in code-behind: Protected Sub GridViewHandLinks_RowCommand(ByVal sender As Object, ByVal e As GridViewCommandEventArgs) If e.CommandName.Equals(“Select“) Then Dim index As Integer = Convert.ToInt32(e.CommandArgument) Dim row As GridViewRow … Continue reading
Customize image to fit into the page
Sometimes the image width is bigger than the page. So to set it in pagelayout , alter the attributr size like this: style=”width: 890px;” will control this. <asp:Image ID=”Banner” runat=”server” ImageUrl=”~/images/bannar.jpg” style=”width: 890px; vertical-align:middle; text-align:center;” /> The div width … Continue reading
Error Msg: Server Error in ‘/folder‘ Application … A potentially dangerous Request.Form value was detected
Error Msg: Server Error in ‘/folder‘ Application … A potentially dangerous Request.Form value was detected Solution: Add ValidateRequest=”false” to the <% Page tag for example if you already have: <%@ Page Language=”vb” AutoEventWireup=”false” Codebehind=”MyForm.aspx.vb” Inherits=”Proj.MyForm”%> then this should become: <%@ … Continue reading
Frames vs Tables
Frames vs Tables Frames divide up your browser window into separate areas. In each of these a page is loaded. Tables divide up a web page into separate cells. Frames Disadvantages: Frames are not very good for web search engines … Continue reading
Posted in ASP.NET, Comparison, Programming
Tagged ASP.NET, Comparison, frames, layout, tables
Leave a comment